Message ID | 20200317194445.494534-1-colin.king@canonical.com |
---|---|
State | New |
Headers | show |
Series | [FOCAL] UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration | expand |
On Tue, Mar 17, 2020 at 07:44:45PM +0000, Colin King wrote: > From: Colin Ian King <colin.king@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@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 > > > -- > kernel-team mailing list > kernel-team@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/kernel-team
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,