From patchwork Mon Aug 19 11:38:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768213 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACE9616C87A; Mon, 19 Aug 2024 11:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724068038; cv=none; b=njUSQiUOWqw4ZFuLC6gIWFKvALF2Umi2F9gDZWjjntR8u4AVeigfzwOJB6TVwuBzWdtZoqqQVJ4d/+lA54oGbF5TpiKktir5qR7ma/kc/fNxlyT43AM8SJHkdW9t4oZxTImiqQXn0Lo0+SRieI/oMNkQZTH/mJPnYdQyNKvw/I8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724068038; c=relaxed/simple; bh=n71Tc4j/yk2qLbxtHEISLr9b5WoeJfTIO0LlZ2c+ylI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=u3gMfjdQ0SApZhCC0w017SnD2IZ+nKnNCYO2jWiLQLnpz7gqfW9JlYNXBZ2H5qRBAFFdanpZcUu0JkHv76HZQiq1efbEqwz8wng4VW7zxBYlCiJS5T3HPhUb6C48AqRJPkbZr8ZGqMSmg2x220w7SN8+yqvNinARcYDub9Tb5a4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WnW4p277qzpTWN; Mon, 19 Aug 2024 19:45:46 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id A90761800A5; Mon, 19 Aug 2024 19:47:14 +0800 (CST) Received: from huawei.com (10.67.174.76) by kwepemg500010.china.huawei.com (7.202.181.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 19 Aug 2024 19:47:13 +0800 From: Yuntao Liu To: , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH -next 8/9] dmaengine: at_hdmac: fix module autoloading Date: Mon, 19 Aug 2024 11:38:54 +0000 Message-ID: <20240819113855.787149-9-liuyuntao12@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819113855.787149-1-liuyuntao12@huawei.com> References: <20240819113855.787149-1-liuyuntao12@huawei.com> Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemg500010.china.huawei.com (7.202.181.71) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from platform_device_id table. Signed-off-by: Yuntao Liu --- drivers/dma/at_hdmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 40052d1bd0b5..614c60b16ee5 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -1904,6 +1904,7 @@ static const struct platform_device_id atdma_devtypes[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, atdma_devtypes); static inline const struct at_dma_platform_data * __init at_dma_get_driver_data( struct platform_device *pdev)