Skip to content

Commit

Permalink
mfd: Fix twl4030-core build
Browse files Browse the repository at this point in the history
Fixes:
drivers/mfd/twl4030-core.c:657: error: implicit declaration of function
'cpu_is_omap2430'

Not the nicest fix, but this should be improved by a better OMAP clock API
implementation.

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
  • Loading branch information
Samuel Ortiz authored and Samuel Ortiz committed Jan 11, 2009
1 parent 98325f8 commit b29c06a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mfd/twl4030-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
#include <linux/i2c.h>
#include <linux/i2c/twl4030.h>

#ifdef CONFIG_ARM
#include <mach/cpu.h>
#endif

/*
* The TWL4030 "Triton 2" is one of a family of a multi-function "Power
Expand Down

0 comments on commit b29c06a

Please sign in to comment.