]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: Fix build breakage due to missing include in i2c.c
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Wed, 19 Dec 2012 06:53:10 +0000 (06:53 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Dec 2012 16:43:25 +0000 (08:43 -0800)
commitdc8f73335b7e0c7fd2089a9a7a5527813a16c93b
treed06309a28a917e52bfd88d5711b312bc5f00bde3
parent4067150f4671331a7d1747658041fc4833de2d02
ARM: OMAP: Fix build breakage due to missing include in i2c.c

Merge commit f6e3ff16f11b ("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>
arch/arm/mach-omap2/i2c.c