From patchwork Mon Aug 19 11:38:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuntao Liu X-Patchwork-Id: 821908 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 052E515D5BB; Mon, 19 Aug 2024 11:47:07 +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=1724068028; cv=none; b=b6Oo4juZ/qf3ifQgfsrgExeOxmj/k5Er50smAUFvLatQbz7HSSbfWq/iyleeb+FLhzMg96tmQJjkXTNCavK+YRyerfgBy9PS5DAmRcLKWLBeqPZaJY8AasxEZ8+mAA0292ge+crqsBJf3cWDpA3VEDAr4RZWCpJYhpKySmqMDdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724068028; c=relaxed/simple; bh=vYoqgv5s4wcj8wPn/uWLk65nbLu7MtAYFQyOr3gHy3o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mwGHWZldnxfafuq5iHRvZ0ZX/fIPDn918ZJilYqIh1o0dpz2EUnJZLPNzcKV4bM+7SW5hb1XHRSbxVMM9p9elQcI5jz7vhko+tJKMcZ7c283Ag1cueH0twJ/sC1nGhDNw4+gU0Vksw1NwYa5pv5a617nqa0hXhj56D1yt9FYrTo= 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.174]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WnW4c2XLGzpSt9; Mon, 19 Aug 2024 19:45:36 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id B71A31400CD; Mon, 19 Aug 2024 19:47:04 +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:03 +0800 From: Yuntao Liu To: , , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH -next 2/9] soc: pxa: ssp: fix module autoloading Date: Mon, 19 Aug 2024 11:38:48 +0000 Message-ID: <20240819113855.787149-3-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-i2c@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/soc/pxa/ssp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/pxa/ssp.c b/drivers/soc/pxa/ssp.c index 854d32e04558..6ac3f376d030 100644 --- a/drivers/soc/pxa/ssp.c +++ b/drivers/soc/pxa/ssp.c @@ -194,6 +194,7 @@ static const struct platform_device_id ssp_id_table[] = { { "pxa910-ssp", PXA910_SSP }, { }, }; +MODULE_DEVICE_TABLE(platform, ssp_id_table); static struct platform_driver pxa_ssp_driver = { .probe = pxa_ssp_probe,