diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2010-03-06 14:36:38 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-03-07 22:17:39 +0100 |
commit | 2c08583c6a6b4c5f5dea4cb0931eca82af7db6fe (patch) | |
tree | f0d3d957d18fce6f23ad38e0a549730662f8ddbc | |
parent | mfd: Fix lpc_sch related depends/selects, fix build error (diff) | |
download | linux-2c08583c6a6b4c5f5dea4cb0931eca82af7db6fe.tar.xz linux-2c08583c6a6b4c5f5dea4cb0931eca82af7db6fe.zip |
mfd: Fix ucb1x00 build failure for collie_defconfig
This patch fixes a build failure[1], by adding the missing semaphore.h include
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2234322/
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 1 | ||||
-rw-r--r-- | include/linux/mfd/ucb1x00.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 252b74188ec2..b281217334eb 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c @@ -27,6 +27,7 @@ #include <linux/mutex.h> #include <linux/mfd/ucb1x00.h> #include <linux/gpio.h> +#include <linux/semaphore.h> #include <mach/dma.h> #include <mach/hardware.h> diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index aa9c3789bed4..4321f044d1e4 100644 --- a/include/linux/mfd/ucb1x00.h +++ b/include/linux/mfd/ucb1x00.h @@ -12,6 +12,7 @@ #include <linux/mfd/mcp.h> #include <linux/gpio.h> +#include <linux/semaphore.h> #define UCB_IO_DATA 0x00 #define UCB_IO_DIR 0x01 |