Skip to content

Commit

Permalink
ARM: OMAP: Fix build breakage due to missing include in i2c.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Vaibhav Bedia <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
VaibhavBedia-xx authored and torvalds committed Dec 20, 2012
1 parent b7dfde9 commit 1800098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1800098

Please sign in to comment.