video: imsttfb: use DEFINE_PCI_DEVICE_TABLE macro
PATCH 12/28 video: imsttfb: use DEFINE_PCI_DEVICE_TABLE macro
This macro is used to create a struct pci_device_id array.
Signed-off-by Jingoo Han <[email protected]>
--- drivers/video/imsttfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/imsttfb.c +1 -1
@@ -1319,7 +1319,7 @@ imsttfb_ioctl(struct fb_info *info, u_int cmd, u_long arg) } } -static struct pci_device_id imsttfb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE (imsttfb_pci_tbl) = { {PCI_VENDOR_ID_IMS ,PCI_DEVICE_ID_IMS_TT128 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,IBM }, {PCI_VENDOR_ID_IMS ,PCI_DEVICE_ID_IMS_TT3D ,
Signature · 1 line
1.7.10.4