mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d6abc59ec8
commit
855fe6ea96
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue