提交 855fe6ea 编写于 作者: S Sudip Mukherjee 提交者: Greg Kroah-Hartman

staging: sm7xxfb: add MODULE_DEVICE_TABLE

add MODULE_DEVICE_TABLE to support hot-plugging.
Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d6abc59e
...@@ -922,6 +922,8 @@ static const struct pci_device_id smtcfb_pci_table[] = { ...@@ -922,6 +922,8 @@ static const struct pci_device_id smtcfb_pci_table[] = {
{0,} {0,}
}; };
MODULE_DEVICE_TABLE(pci, smtcfb_pci_table);
static void smtcfb_pci_remove(struct pci_dev *pdev) static void smtcfb_pci_remove(struct pci_dev *pdev)
{ {
struct smtcfb_info *sfb; struct smtcfb_info *sfb;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册