diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-03-24 16:22:24 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 13:02:28 +0100 |
commit | 855fe6ea9600a6d4b406b0d66e86e6e60ace4ef4 (patch) | |
tree | e3dc19af351bae01c4afadbbd6c2d3af71b79747 | |
parent | d6abc59ec8440cf3677a54d6fb12afbd20f70821 (diff) | |
download | op-kernel-dev-855fe6ea9600a6d4b406b0d66e86e6e60ace4ef4.zip op-kernel-dev-855fe6ea9600a6d4b406b0d66e86e6e60ace4ef4.tar.gz |
staging: sm7xxfb: add MODULE_DEVICE_TABLE
add MODULE_DEVICE_TABLE to support hot-plugging.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xxfb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index abdb021..5b3e614 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; |