From nobody Thu Sep 19 19:25:10 2024 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 18B7813A88D; Mon, 26 Aug 2024 09:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724664433; cv=none; b=bsYe1KSBL3TjxqHAzSgF6i8fCKJWWTTXrQwvnVvMPmdJOJiLs9KAhcgTNz8vnUjZlhDOFLZskDQ/OxeRvInE2B8dMIOzhJN9HSAGbORQYg9ZdBDNjLR8Q71kBm/1j7Q7/vLm2EpjeDxmTLEMyQuuyce4iSccz4GM10bQSrS4T7g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724664433; c=relaxed/simple; bh=AGbhaGZzYf8sUpXJdvrvt+qGEcxnb80Nxq5n0j8IBFQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=vBtvgg5bniS2Hq8iKCKHULztkI6+AZgIKNlNpbaM6ajoGfgViL2ySn/Ul5DEtdZOpWQRarW+F4vsfV8cb1JpagAERa0YPz51whesKkkZWKxMD0Xft+8LvjoqiEHB+uhPBNO6qeztQrOL96ndvIRa+Xen6OO2lW0Yu4rW2FnZtmQ= 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.187 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.162.254]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Wslg54rQ2zyRB9; Mon, 26 Aug 2024 17:26:41 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id BA5C51800D0; Mon, 26 Aug 2024 17:27:09 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 1/3] net: dm9051: fix module autoloading Date: Mon, 26 Aug 2024 09:18:56 +0000 Message-ID: <20240826091858.369910-2-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) Content-Type: text/plain; charset="utf-8" Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- drivers/net/ethernet/davicom/dm9051.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/davicom/dm9051.c b/drivers/net/ethernet/d= avicom/dm9051.c index bcfe52c11804..59ea48d4c9de 100644 --- a/drivers/net/ethernet/davicom/dm9051.c +++ b/drivers/net/ethernet/davicom/dm9051.c @@ -1235,6 +1235,7 @@ static const struct of_device_id dm9051_match_table[]= =3D { { .compatible =3D "davicom,dm9051" }, {} }; +MODULE_DEVICE_TABLE(of, dm9051_match_table); =20 static const struct spi_device_id dm9051_id_table[] =3D { { "dm9051", 0 }, --=20 2.34.1 From nobody Thu Sep 19 19:25:10 2024 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 9FD77143882; Mon, 26 Aug 2024 09:27:12 +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=1724664434; cv=none; b=Vat7n14EcgpNUqsaxGiWh1J89KplRTnvTgdoAy7uTCZhDBbrE+12ZhMm1GzRMRStVzpqA2DimIdNzgZJD/pZ/HDWAtiI7qLeht02z9rcEruL0lnw2npoAVjwzVp+fpCvCSjZ83I6S/2XDpLgtaXRznNj58x6Wgc/Wd3lwI/bnjY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724664434; c=relaxed/simple; bh=syn/L+vM4fo0OtrQMlyGH6kMlbemWb3b4imeD/jQ8x8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IgxwJIcgI9C8LxdfzRk8wN3cDELcsSwbnSDwxZA3UkclKk0meUrvrtyBoe+nKYV9uROw69MLxWqna+8ci0xXqavo4HhJLId+6lH47VvavkGp3cP13ra1HKwy2mDkcFX0OShtTfXVuIUx9TNUKdIkObByirwl6UJArSCNGGmwj5g= 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.88.105]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WsldH0C95zhYTp; Mon, 26 Aug 2024 17:25:07 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id E990F14037E; Mon, 26 Aug 2024 17:27:09 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 2/3] net: ag71xx: fix module autoloading Date: Mon, 26 Aug 2024 09:18:57 +0000 Message-ID: <20240826091858.369910-3-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) Content-Type: text/plain; charset="utf-8" Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- drivers/net/ethernet/atheros/ag71xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/atheros/ag71xx.c b/drivers/net/ethernet/a= theros/ag71xx.c index a38be924cdaa..844b86abd90a 100644 --- a/drivers/net/ethernet/atheros/ag71xx.c +++ b/drivers/net/ethernet/atheros/ag71xx.c @@ -2064,6 +2064,7 @@ static const struct of_device_id ag71xx_match[] =3D { { .compatible =3D "qca,qca9560-eth", .data =3D &ag71xx_dcfg_qca9550 }, {} }; +MODULE_DEVICE_TABLE(of, ag71xx_match); =20 static struct platform_driver ag71xx_driver =3D { .probe =3D ag71xx_probe, --=20 2.34.1 From nobody Thu Sep 19 19:25:10 2024 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 18B2985654; Mon, 26 Aug 2024 09:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724664434; cv=none; b=TdUe0qOjG/DxartHCHap34kFXWsbLmAG9UXlCL0BpkXq0xXpyN4V/F0CXzRwGj6ZUXLnvWqsg4qZHB0oA0+7DxeAv/ctkuNZ46OlfiDMayEJoxKH1H3FVmJjUGL7jJkwif6nnH0+fgc7vY+OJmAtH/WePgyh8E8jxdWnBzpfcAo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724664434; c=relaxed/simple; bh=tPHPyCneiMEpsTXZkmpOJ4fx4ARtckha6iFhtzuQnRk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FZobYrlq2MCSOMfpTESsLgwIfNfUKcMGaaX0CiXkbZD0w3yi/8FSzOMWBj/gKOwN1qLQAyK3queszN/TspIbB8u7Idsr6O/6qNqwEE0oNJOThddHnPOp03P/pl//009IgjfHUp8UbaeaFQFH5xlsYCIOP18WaanZZwxeuVWNU5s= 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.187 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.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Wslfm30g6zpVsj; Mon, 26 Aug 2024 17:26:24 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 2FB8814037E; Mon, 26 Aug 2024 17:27:10 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 3/3] net: airoha: fix module autoloading Date: Mon, 26 Aug 2024 09:18:58 +0000 Message-ID: <20240826091858.369910-4-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) Content-Type: text/plain; charset="utf-8" Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Acked-by: Lorenzo Bianconi --- drivers/net/ethernet/mediatek/airoha_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/airoha_eth.c b/drivers/net/ether= net/mediatek/airoha_eth.c index 1c5b85a86df1..a80c1fae5c2d 100644 --- a/drivers/net/ethernet/mediatek/airoha_eth.c +++ b/drivers/net/ethernet/mediatek/airoha_eth.c @@ -2715,6 +2715,7 @@ static const struct of_device_id of_airoha_match[] = =3D { { .compatible =3D "airoha,en7581-eth" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, of_airoha_match); =20 static struct platform_driver airoha_driver =3D { .probe =3D airoha_probe, --=20 2.34.1