From: Sudip Mukherjee Date: Tue, 24 Mar 2015 10:52:24 +0000 (+0530) Subject: staging: sm7xxfb: add MODULE_DEVICE_TABLE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=855fe6ea9600a6d4b406b0d66e86e6e60ace4ef4;p=openwrt%2Fstaging%2Fblogic.git staging: sm7xxfb: add MODULE_DEVICE_TABLE add MODULE_DEVICE_TABLE to support hot-plugging. Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index abdb02115cac..5b3e6143a0ba 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -922,6 +922,8 @@ static const struct pci_device_id smtcfb_pci_table[] = { {0,} }; +MODULE_DEVICE_TABLE(pci, smtcfb_pci_table); + static void smtcfb_pci_remove(struct pci_dev *pdev) { struct smtcfb_info *sfb;