]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jul 2013 22:51:45 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jul 2013 22:51:45 +0000 (15:51 -0700)
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

1  2 
arch/arm/boot/dts/omap3-devkit8000.dts
drivers/base/platform.c
drivers/of/address.c
drivers/of/base.c
drivers/usb/chipidea/Makefile
include/linux/platform_device.h

Simple merge
Simple merge
Simple merge
index 3bbbcba03815de28a5cb78e03aabba1044d9932d,4113febdb4329d3ed803ab5194dfef63b8e93aba..6cf5f68dedd8d2c08e00e2ba7d9cf99cc65fafb0
@@@ -13,9 -13,9 +13,9 @@@ obj-$(CONFIG_USB_CHIPIDEA)    += ci_hdrc_m
  
  # PCI doesn't provide stubs, need to check
  ifneq ($(CONFIG_PCI),)
 -      obj-$(CONFIG_USB_CHIPIDEA)      += ci13xxx_pci.o
 +      obj-$(CONFIG_USB_CHIPIDEA)      += ci_hdrc_pci.o
  endif
  
- ifneq ($(CONFIG_OF_DEVICE),)
+ ifneq ($(CONFIG_OF),)
 -      obj-$(CONFIG_USB_CHIPIDEA)      += ci13xxx_imx.o usbmisc_imx.o
 +      obj-$(CONFIG_USB_CHIPIDEA)      += ci_hdrc_imx.o usbmisc_imx.o
  endif
index cd46ee58b9dcdd82a394202311146840131e8319,3413897474e17bf09358489c3e483a8e58e19a50..ce8e4ffd78c773a1923c18cc53403726e79f71bf
@@@ -180,13 -180,10 +180,16 @@@ struct platform_driver 
        const struct platform_device_id *id_table;
  };
  
 -extern int platform_driver_register(struct platform_driver *);
+ #define to_platform_driver(drv)       (container_of((drv), struct platform_driver, \
+                                driver))
 +/*
 + * use a macro to avoid include chaining to get THIS_MODULE
 + */
 +#define platform_driver_register(drv) \
 +      __platform_driver_register(drv, THIS_MODULE)
 +extern int __platform_driver_register(struct platform_driver *,
 +                                      struct module *);
  extern void platform_driver_unregister(struct platform_driver *);
  
  /* non-hotpluggable platform devices may use this so that probe() and