From 7211806a7c8a1066aae7b0ddd200af7f071c3166 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 11 Mar 2014 10:03:31 -0700 Subject: [PATCH] staging: comedi: jr3_pci: introduce boardinfo for the supported boards Create an enum for the boards supported by this driver and pass that enum in the pci_driver id_table as the driver_data. Introduce a boardinfo struct to hold the board specific data for the boards supported by this driver. Use the boardinfo when attaching to the driver instead of using the pcidev->device and the switch. Since the PCI device ids are now only used in the id_table, remove the defines and open code the device ids. Signed-off-by: H Hartley Sweeten Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed