diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-15 23:01:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-15 23:01:36 -0400 |
commit | d10902812c9cd5583130a4ebb9ad19c60b68149d (patch) | |
tree | b1b28587970e8cebf74ba4d61edf49537f619ab7 /drivers/net/ethoc.c | |
parent | 181f977d134a9f8e3f8839f42af655b045fc059e (diff) | |
parent | 25874a299ef8037df03ce4ada570bc4e42f9748f (diff) |
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (27 commits)
x86: Clean up apic.c and apic.h
x86: Remove superflous goal definition of tsc_sync
x86: dt: Correct local apic documentation in device tree bindings
x86: dt: Cleanup local apic setup
x86: dt: Fix OLPC=y/INTEL_CE=n build
rtc: cmos: Add OF bindings
x86: ce4100: Use OF to setup devices
x86: ioapic: Add OF bindings for IO_APIC
x86: dtb: Add generic bus probe
x86: dtb: Add support for PCI devices backed by dtb nodes
x86: dtb: Add device tree support for HPET
x86: dtb: Add early parsing of IO_APIC
x86: dtb: Add irq domain abstraction
x86: dtb: Add a device tree for CE4100
x86: Add device tree support
x86: e820: Remove conditional early mapping in parse_e820_ext
x86: OLPC: Make OLPC=n build again
x86: OLPC: Remove extra OLPC_OPENFIRMWARE_DT indirection
x86: OLPC: Cleanup config maze completely
x86: OLPC: Hide OLPC_OPENFIRMWARE config switch
...
Fix up conflicts in arch/x86/platform/ce4100/ce4100.c
Diffstat (limited to 'drivers/net/ethoc.c')
-rw-r--r-- | drivers/net/ethoc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index b79d7e1555d5..db0290f05bdf 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c | |||
@@ -1163,15 +1163,11 @@ static int ethoc_resume(struct platform_device *pdev) | |||
1163 | # define ethoc_resume NULL | 1163 | # define ethoc_resume NULL |
1164 | #endif | 1164 | #endif |
1165 | 1165 | ||
1166 | #ifdef CONFIG_OF | ||
1167 | static struct of_device_id ethoc_match[] = { | 1166 | static struct of_device_id ethoc_match[] = { |
1168 | { | 1167 | { .compatible = "opencores,ethoc", }, |
1169 | .compatible = "opencores,ethoc", | ||
1170 | }, | ||
1171 | {}, | 1168 | {}, |
1172 | }; | 1169 | }; |
1173 | MODULE_DEVICE_TABLE(of, ethoc_match); | 1170 | MODULE_DEVICE_TABLE(of, ethoc_match); |
1174 | #endif | ||
1175 | 1171 | ||
1176 | static struct platform_driver ethoc_driver = { | 1172 | static struct platform_driver ethoc_driver = { |
1177 | .probe = ethoc_probe, | 1173 | .probe = ethoc_probe, |
@@ -1181,9 +1177,7 @@ static struct platform_driver ethoc_driver = { | |||
1181 | .driver = { | 1177 | .driver = { |
1182 | .name = "ethoc", | 1178 | .name = "ethoc", |
1183 | .owner = THIS_MODULE, | 1179 | .owner = THIS_MODULE, |
1184 | #ifdef CONFIG_OF | ||
1185 | .of_match_table = ethoc_match, | 1180 | .of_match_table = ethoc_match, |
1186 | #endif | ||
1187 | }, | 1181 | }, |
1188 | }; | 1182 | }; |
1189 | 1183 | ||