mfd: Fix ucb1x00 build failure for collie_defconfig
authorPeter Huewe <peterhuewe@gmx.de>
Sat, 6 Mar 2010 13:36:38 +0000 (14:36 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:39 +0000 (22:17 +0100)
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>
drivers/mfd/ucb1x00-core.c
include/linux/mfd/ucb1x00.h

index 252b74188ec20a7fbf55ee95410c9edfc41dc5ec..b281217334eb3c68d35c7695b8104dd327e6bcf6 100644 (file)
@@ -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>
index aa9c3789bed422f6fcb32ea72ace909481877ee3..4321f044d1e45e1ad5cdaf20eba1440427b1fb5e 100644 (file)
@@ -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