devices/ccat/module.c
branchstable-1.5
changeset 2640 b11e1014edfe
parent 2638 5995331a55fe
child 2684 56587a22d05c
equal deleted inserted replaced
2639:3bedfc5ecd74 2640:b11e1014edfe
   346 static const struct pci_device_id pci_ids[] = {
   346 static const struct pci_device_id pci_ids[] = {
   347 	{PCI_DEVICE(PCI_VENDOR_ID_BECKHOFF, PCI_DEVICE_ID_BECKHOFF_CCAT)},
   347 	{PCI_DEVICE(PCI_VENDOR_ID_BECKHOFF, PCI_DEVICE_ID_BECKHOFF_CCAT)},
   348 	{0,},
   348 	{0,},
   349 };
   349 };
   350 
   350 
   351 MODULE_DEVICE_TABLE(pci, pci_ids);
   351 /* prevent auto-loading. */
       
   352 /* MODULE_DEVICE_TABLE(pci, pci_ids); */
   352 
   353 
   353 static struct pci_driver ccat_pci_driver = {
   354 static struct pci_driver ccat_pci_driver = {
   354 	.name = KBUILD_MODNAME,
   355 	.name = KBUILD_MODNAME,
   355 	.id_table = pci_ids,
   356 	.id_table = pci_ids,
   356 	.probe = ccat_pci_probe,
   357 	.probe = ccat_pci_probe,
   406 static const struct of_device_id bhf_eim_ccat_ids[] = {
   407 static const struct of_device_id bhf_eim_ccat_ids[] = {
   407 	{.compatible = "bhf,emi-ccat",},
   408 	{.compatible = "bhf,emi-ccat",},
   408 	{}
   409 	{}
   409 };
   410 };
   410 
   411 
   411 MODULE_DEVICE_TABLE(of, bhf_eim_ccat_ids);
   412 /* prevent auto-loading. */
       
   413 /* MODULE_DEVICE_TABLE(of, bhf_eim_ccat_ids); */
   412 
   414 
   413 static struct platform_driver ccat_eim_driver = {
   415 static struct platform_driver ccat_eim_driver = {
   414 	.driver = {
   416 	.driver = {
   415 		   .name = KBUILD_MODNAME,
   417 		   .name = KBUILD_MODNAME,
   416 		   .of_match_table = bhf_eim_ccat_ids,
   418 		   .of_match_table = bhf_eim_ccat_ids,