diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2010-03-06 08:36:38 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-03-07 16:17:39 -0500 |
commit | 2c08583c6a6b4c5f5dea4cb0931eca82af7db6fe (patch) | |
tree | f0d3d957d18fce6f23ad38e0a549730662f8ddbc | |
parent | 860fb8c134ebca9be8bc2ddd2b13e19ac10c192e (diff) |
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 @@ | |||
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/mfd/ucb1x00.h> | 28 | #include <linux/mfd/ucb1x00.h> |
29 | #include <linux/gpio.h> | 29 | #include <linux/gpio.h> |
30 | #include <linux/semaphore.h> | ||
30 | 31 | ||
31 | #include <mach/dma.h> | 32 | #include <mach/dma.h> |
32 | #include <mach/hardware.h> | 33 | #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 @@ | |||
12 | 12 | ||
13 | #include <linux/mfd/mcp.h> | 13 | #include <linux/mfd/mcp.h> |
14 | #include <linux/gpio.h> | 14 | #include <linux/gpio.h> |
15 | #include <linux/semaphore.h> | ||
15 | 16 | ||
16 | #define UCB_IO_DATA 0x00 | 17 | #define UCB_IO_DATA 0x00 |
17 | #define UCB_IO_DIR 0x01 | 18 | #define UCB_IO_DIR 0x01 |