Skip to content

Commit

Permalink
UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
  • Loading branch information
Colin Ian King authored and Andrea Righi committed Mar 31, 2020
1 parent d048a85 commit 69e1297
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ubuntu/hio/hio.c
Original file line number Diff line number Diff line change
Expand Up @@ -12965,7 +12965,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,
Expand Down

0 comments on commit 69e1297

Please sign in to comment.