Skip to content

Commit

Permalink
mfd: Fix ucb1x00 build failure for collie_defconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Samuel Ortiz committed Mar 7, 2010
1 parent 860fb8c commit 2c08583
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/ucb1x00-core.c
Original file line number Diff line number Diff line change
@@ -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>
1 change: 1 addition & 0 deletions include/linux/mfd/ucb1x00.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c08583

Please sign in to comment.