linux-stable/drivers/base/regmap
Stephen Warren 30b2a55374 regmap: include linux/sched.h to fix build
This fixes:

drivers/base/regmap/regmap.c: In function 'regmap_async_complete_cb':
drivers/base/regmap/regmap.c:1656:3: error: 'TASK_NORMAL' undeclared (first use in this function)
drivers/base/regmap/regmap.c:1656:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/base/regmap/regmap.c: In function 'regmap_async_complete':
drivers/base/regmap/regmap.c:1688:2: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
drivers/base/regmap/regmap.c:1688:2: error: implicit declaration of function 'schedule'

An alternative might be to adjust linux/wait.h to include linux/sched.h,
but since that hasn't been done before, I assume we're consciously
avoiding doing that.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-02-04 10:21:51 +00:00
..
internal.h regmap: Add asynchronous I/O support 2013-01-29 12:14:52 +08:00
Kconfig regmap: select REGMAP if REGMAP_MMIO and REGMAP_IRQ enabled 2012-10-17 22:09:35 +09:00
Makefile regmap: add MMIO bus support 2012-04-06 10:47:35 +01:00
regcache-lzo.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regcache-rbtree.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regcache.c regmap: implement register striding 2012-04-10 11:01:18 +01:00
regmap-debugfs.c regmap: debugfs: Cache offsets of valid regions for dump 2012-12-11 01:29:47 +09:00
regmap-i2c.c i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING 2012-05-30 10:55:34 +02:00
regmap-irq.c regmap: irq: Allow users to retrieve the irq_domain 2012-10-15 09:49:23 +09:00
regmap-mmio.c regmap: Fix incorrect arguments to kzalloc() call 2012-07-18 22:13:53 +01:00
regmap-spi.c regmap: spi: Support asynchronous I/O for SPI 2013-01-29 12:16:21 +08:00
regmap.c regmap: include linux/sched.h to fix build 2013-02-04 10:21:51 +00:00