13 Jan, 2012
1 commit
-
Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
tables.Use DEFINE_PCI_DEVICE_TABLE ensures we make the pci_device_id table const
and marked as __devinitconst.This also fixes some warnings from checkpatch:
e.g.
WARNING: Use DEFINE_PCI_DEVICE_TABLE for struct pci_device_id
#1096: FILE: i2c/busses/i2c-intel-mid.c:1096:
+static struct pci_device_id intel_mid_i2c_ids[] = {Signed-off-by: Axel Lin
Cc: Rudolf Marek
Cc: Ben Dooks
Acked-by: Olof Johansson
Cc: "Mark M. Hoffman"
Acked-by: Dirk Brandewie
Cc: Tomoya MORINAGA
Acked-by: Wolfram Sang
Cc: Feng Tang
Cc: Sebastian Andrzej Siewior
Signed-off-by: Jean Delvare
01 Nov, 2011
1 commit
-
These files use interfaces from linux/module.h, so they must
include that file to avoid build errors when the implicit
presence of module.h is removed.[with i2c-pxa-pci.c fix from Randy Dunlap ]
Signed-off-by: Paul Gortmaker
07 Sep, 2011
1 commit
-
Signed-off-by: Axel Lin
Acked-by: Sebastian Andrzej Siewior
Signed-off-by: Ben Dooks
21 Mar, 2011
1 commit
-
The Sodaville I2C controller is almost the same as found on PXA2xx. The
difference:
- the register are at a different offset
- no slave supportThe PCI probe code adds three platform devices which are probed then by
the platform code.
The X86 part also adds dummy clock defines because we don't have HW
clock support.Signed-off-by: Sebastian Andrzej Siewior
Signed-off-by: Dirk Brandewie
Signed-off-by: Ben Dooks