[PATCH][FOCAL] UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration
Colin King
colin.king at canonical.com
Tue Mar 17 19:44:45 UTC 2020
From: Colin Ian King <colin.king at canonical.com>
The declaration is duplicated and will cause build failure when
building with clang. Remove it.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
ubuntu/hio/hio.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ubuntu/hio/hio.c b/ubuntu/hio/hio.c
index 57ad49a7e562..2eecca47e42d 100644
--- a/ubuntu/hio/hio.c
+++ b/ubuntu/hio/hio.c
@@ -12956,7 +12956,6 @@ MODULE_DEVICE_TABLE(pci, ssd_pci_tbl);
SIMPLE_DEV_PM_OPS(hio_pm_ops, ssd_hio_suspend, ssd_hio_resume);
#endif
-MODULE_DEVICE_TABLE(pci, ssd_pci_tbl);
struct pci_driver ssd_driver = {
.name = MODULE_NAME,
.id_table = ssd_pci_tbl,
--
2.25.1
More information about the kernel-team
mailing list