Skip to contentSkip to conversation

video: imsttfb: use DEFINE_PCI_DEVICE_TABLE macro

PATCH In review Jingoo Han 1 participant 1 message Nov 28, 2013 Framebuffer layer

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 12/28 video: imsttfb: use DEFINE_PCI_DEVICE_TABLE macro

This macro is used to create a struct pci_device_id array.

---
 drivers/video/imsttfb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/imsttfb.c +1 -1
index aae10ce..10c769c 100644
@@ -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