mfd: Add platform data to support multiple WM831x devices per board
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 1 Mar 2011 20:12:46 +0000 (20:12 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:01 +0000 (10:42 +0100)
commit93619c2106e2c968a260ebffb75ddc5efa567c16
tree7ff5933b26bcf1d995b672d13df899d6ea8800d8
parentd664f20020e0a3564d7aaba6625aa58d24283b7d
mfd: Add platform data to support multiple WM831x devices per board

If a system contains multiple WM831x devices we need to pass a device
number through to the MFD so that we use unique device IDs when we
instantiate child devices. In order to get support for this into 2.6.39
add some platform data to support the configuration, but no implementation
as yet.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/wm831x/pdata.h