Skip to content

Commit 1800098

Browse files
VaibhavBedia-xxtorvalds
authored andcommitted
ARM: OMAP: Fix build breakage due to missing include in i2c.c
Merge commit 752451f ("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 <fengguang.wu@intel.com> Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b7dfde9 commit 1800098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mach-omap2/i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "soc.h"
2323
#include "omap_hwmod.h"
2424
#include "omap_device.h"
25+
#include "omap-pm.h"
2526

2627
#include "prm.h"
2728
#include "common.h"

0 commit comments

Comments
 (0)