diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 18:51:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 18:51:45 -0400 |
commit | 74b9272bbedf45cb01a048217830d64d59aaa73b (patch) | |
tree | 11cf66b529d4861edd03d16f97c8178e9cfd9f77 /drivers/net/ethernet/ibm/ehea/ehea_main.c | |
parent | f5b63ac0f77ecab46796ba5d368ea5dd51834e6e (diff) | |
parent | 6dd18e4684f3d188277bbbc27545248487472108 (diff) |
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
Pull device tree updates from Grant Likely:
"This branch contains the following changes:
- Removal of CONFIG_OF_DEVICE, it is always enabled by CONFIG_OF
- Remove #ifdef from linux/of_platform.h to increase compiler syntax
coverage
- Bug fix for address decoding on Bimini and js2x powerpc platforms.
- miscellaneous binding changes
One note on the above. The binding changes going in from all kinds of
different trees has gotten rather out of hand. I picked up some
during this cycle, but even going though my tree isn't a great fit.
Ian Campbell has prototyped splitting the bindings and .dtb files into
a separate repository. The plan is to migrate to using that sometime
in the next few kernel releases which should get rid of a lot of the
churn on binding docs and .dts files"
* tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux:
of: Fix address decoding on Bimini and js2x machines
of: remove CONFIG_OF_DEVICE
usb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE
of: remove of_platform_driver
ibmebus: convert of_platform_driver to platform_driver
driver core: move to_platform_driver to platform_device.h
mfd: DT bindings for the palmas family MFD
ARM: dts: omap3-devkit8000: fix NAND memory binding
of/base: fix typos
of: remove #ifdef from linux/of_platform.h
Diffstat (limited to 'drivers/net/ethernet/ibm/ehea/ehea_main.c')
-rw-r--r-- | drivers/net/ethernet/ibm/ehea/ehea_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_main.c b/drivers/net/ethernet/ibm/ehea/ehea_main.c index 90ea0b1673ca..de2969cae262 100644 --- a/drivers/net/ethernet/ibm/ehea/ehea_main.c +++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c | |||
@@ -98,8 +98,7 @@ static struct ehea_fw_handle_array ehea_fw_handles; | |||
98 | static struct ehea_bcmc_reg_array ehea_bcmc_regs; | 98 | static struct ehea_bcmc_reg_array ehea_bcmc_regs; |
99 | 99 | ||
100 | 100 | ||
101 | static int ehea_probe_adapter(struct platform_device *dev, | 101 | static int ehea_probe_adapter(struct platform_device *dev); |
102 | const struct of_device_id *id); | ||
103 | 102 | ||
104 | static int ehea_remove(struct platform_device *dev); | 103 | static int ehea_remove(struct platform_device *dev); |
105 | 104 | ||
@@ -112,7 +111,7 @@ static struct of_device_id ehea_device_table[] = { | |||
112 | }; | 111 | }; |
113 | MODULE_DEVICE_TABLE(of, ehea_device_table); | 112 | MODULE_DEVICE_TABLE(of, ehea_device_table); |
114 | 113 | ||
115 | static struct of_platform_driver ehea_driver = { | 114 | static struct platform_driver ehea_driver = { |
116 | .driver = { | 115 | .driver = { |
117 | .name = "ehea", | 116 | .name = "ehea", |
118 | .owner = THIS_MODULE, | 117 | .owner = THIS_MODULE, |
@@ -3251,8 +3250,7 @@ static void ehea_remove_device_sysfs(struct platform_device *dev) | |||
3251 | device_remove_file(&dev->dev, &dev_attr_remove_port); | 3250 | device_remove_file(&dev->dev, &dev_attr_remove_port); |
3252 | } | 3251 | } |
3253 | 3252 | ||
3254 | static int ehea_probe_adapter(struct platform_device *dev, | 3253 | static int ehea_probe_adapter(struct platform_device *dev) |
3255 | const struct of_device_id *id) | ||
3256 | { | 3254 | { |
3257 | struct ehea_adapter *adapter; | 3255 | struct ehea_adapter *adapter; |
3258 | const u64 *adapter_handle; | 3256 | const u64 *adapter_handle; |