linux/drivers/base/regmap
Stephen Warren f5d6eba74b regmap: Fix future missing prototype of devres_alloc() and friends
[Fix for breakage which will be introduced during the merge window via
header reworks in another tree, the regmap tree does include device.h
but Paul's tree breaks that.  Reworded subject to reflect -- broonie]

regmap.s uses devres_alloc() and others that are prototyped in device.h.
Include that to solve the following:

drivers/base/regmap/regmap.c: In function 'devm_regmap_init':
drivers/base/regmap/regmap.c:331:2: error: implicit declaration of function 'devres_alloc' [-Werror=implicit-function-declaration]
drivers/base/regmap/regmap.c:338:3: error: implicit declaration of function 'devres_add' [-Werror=implicit-function-declaration]
drivers/base/regmap/regmap.c:340:3: error: implicit declaration of function 'devres_free' [-Werror=implicit-function-declaration]
drivers/base/regmap/regmap.c: In function '_regmap_raw_write':
drivers/base/regmap/regmap.c:421:5: error: implicit declaration of function 'dev_err' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-03-11 12:52:44 +00:00
..
internal.h regmap: Don't use bitfields for booleans 2012-02-06 19:24:35 +00:00
Kconfig regmap: Add a reusable irq_chip for regmap based interrupt controllers 2011-11-08 11:29:48 +00:00
Makefile regmap: Remove indexed cache type 2011-11-20 20:56:34 +00:00
regcache-lzo.c regmap: Skip hardware defaults for LZO caches 2012-02-23 20:12:49 +00:00
regcache-rbtree.c regcache: Make sure we sync register 0 in an rbtree cache 2012-03-05 23:48:50 +00:00
regcache.c regmap: Add tracepoints for cache only and cache bypass 2012-02-23 22:10:56 +00:00
regmap-debugfs.c regmap: delete unused module.h from drivers/base/regmap files 2012-03-01 11:10:35 +00:00
regmap-i2c.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap-irq.c regmap: Add irq_base accessor to regmap_irq 2011-12-05 16:13:31 +00:00
regmap-spi.c Merge branch 'for-linus' of git://opensource.wolfsonmicro.com/regmap 2011-10-25 13:57:45 +02:00
regmap.c regmap: Fix future missing prototype of devres_alloc() and friends 2012-03-11 12:52:44 +00:00