]> Git Repo - linux.git/commitdiff
ARM: OMAP: Fix build breakage due to missing include in i2c.c
authorVaibhav Bedia <[email protected]>
Wed, 19 Dec 2012 06:53:10 +0000 (06:53 +0000)
committerLinus Torvalds <[email protected]>
Thu, 20 Dec 2012 16:43:25 +0000 (08:43 -0800)
Merge commit 752451f01c45 ("Merge branch 'i2c-embedded/for-next' of
git://git.pengutronix.de/git/wsa/linux") resulted in a build breakage
for OMAP

  arch/arm/mach-omap2/i2c.c: In function 'omap_pm_set_max_mpu_wakeup_lat_compat':
  arch/arm/mach-omap2/i2c.c:130:2: error: implicit declaration of function 'omap_pm_set_max_mpu_wakeup_lat'
  make[1]: *** [arch/arm/mach-omap2/i2c.o] Error 1

Fix this by including the appropriate header file with the function
prototype.

Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Vaibhav Bedia <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/mach-omap2/i2c.c

index df6d6acbc9edad84fe830a40b59cc90c48fcec7f..b9074dde3b9c5db7dffea856e2379e72f72aca13 100644 (file)
@@ -22,6 +22,7 @@
 #include "soc.h"
 #include "omap_hwmod.h"
 #include "omap_device.h"
+#include "omap-pm.h"
 
 #include "prm.h"
 #include "common.h"
This page took 0.061912 seconds and 4 git commands to generate.