Thread (42 messages) flat view 42 messages, 5 authors, 2022-02-10

Re: [PATCH v9 08/24] wfx: add bus_sdio.c

From: Pali Rohár <pali@kernel.org>
Date: 2022-01-12 10:59:08
Also in: linux-devicetree, linux-mmc, linux-wireless, lkml

On Tuesday 11 January 2022 18:14:08 Jerome Pouiller wrote:
+static const struct sdio_device_id wfx_sdio_ids[] = {
+	{ SDIO_DEVICE(SDIO_VENDOR_ID_SILABS, SDIO_DEVICE_ID_SILABS_WF200) },
+	{ },
+};
Hello! Is this table still required?
+MODULE_DEVICE_TABLE(sdio, wfx_sdio_ids);
+
+struct sdio_driver wfx_sdio_driver = {
+	.name = "wfx-sdio",
+	.id_table = wfx_sdio_ids,
+	.probe = wfx_sdio_probe,
+	.remove = wfx_sdio_remove,
+	.drv = {
+		.owner = THIS_MODULE,
+		.of_match_table = wfx_sdio_of_match,
+	}
+};
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help