From patchwork Mon Aug 19 11:38:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuntao Liu X-Patchwork-Id: 820586 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (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 6B58C16C865; Mon, 19 Aug 2024 11:47:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724068037; cv=none; b=UbGdr6rUfhn5PVngt3WJzBdCmt27sV2kBl22ilvVvZgJ2pxIPesbdYvZMKpdbY6fhQfeZVbZ506kWdku1W87w08UdKy4xW1IRtKmyXg54tWwgo78MLW+lfJYNRaNGh+9zGHAWNx7IrsJmpb2pdYllVVTSakLWJhZSHsK8Wrc8mE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724068037; c=relaxed/simple; bh=E6NpAjAFNr5+aQvLr8pJUp3do98ugMe5pXQcaZAYOOs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iKnQR04diBVfDs3J+JyvZGWwAEuY/fwUgb4omCMkZOnelCC5zzxo9YjjyZdcAccDr7xNcdeJ6Db24URE3/83fMvogn7OKocRhAtBMaFhmhzAWJll9+3uxPq2FUCkASmHVxlz/5OjabncC3Or/BH9uabUhOWyVxqwPMw1H7iHWjU= 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.190 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.88.234]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WnW0k46rRz2Cn33; Mon, 19 Aug 2024 19:42:14 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 0FA2E14022E; Mon, 19 Aug 2024 19:47:13 +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:11 +0800 From: Yuntao Liu To: , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH -next 7/9] dmaengine: mmp_pdma: fix module autoloading Date: Mon, 19 Aug 2024 11:38:53 +0000 Message-ID: <20240819113855.787149-8-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: linux-usb@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/mmp_pdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 136fcaeff8dd..05d051ecf833 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -1129,6 +1129,7 @@ static const struct platform_device_id mmp_pdma_id_table[] = { { "mmp-pdma", }, { }, }; +MODULE_DEVICE_TABLE(platform, mmp_pdma_id_table); static struct platform_driver mmp_pdma_driver = { .driver = {