Skip to contentSkip to conversation

mfd/ucb1x00: Fix build failure for collie_defconfig caused by missing include

PATCH New Peter Huewe 1 participant 1 message Mar 6, 2010 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd/ucb1x00: Fix build failure for collie_defconfig caused by missing include

From: Peter Huewe <[email protected]>

This patch fixes a build failure[1], by adding the missing semaphore.h include

References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2234322/

Patch against linux-next as of 20100306 Applies smoothly to Linus' tree as well.
The build failure happens to be only in linux-next yet.

---
KernelVersion: 2.6.33-linux-next-20100306

 drivers/mfd/ucb1x00-core.c  |    1 +
 include/linux/mfd/ucb1x00.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/mfd/ucb1x00-core.c +1 -0
index 252b741..b281217 100644
@@ -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>
include/linux/mfd/ucb1x00.h +1 -0
index aa9c378..4321f04 100644
@@ -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
Signature · 1 line
1.6.4.4