]> git.baikalelectronics.ru Git - kernel.git/commit
ep93xx: fix build of vision_ep93xx.c
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 8 Feb 2012 16:53:44 +0000 (09:53 -0700)
committerArnd Bergmann <arnd@arndb.de>
Mon, 13 Feb 2012 06:56:39 +0000 (06:56 +0000)
commit5d3423d069a2403408fa04e31014b8bddd9dc74d
treea7219d12d3b7333cf7e85c9c163904c0aeb7c9e6
parent5d152aead90306f4ce44f989afd32caeea7042ca
ep93xx: fix build of vision_ep93xx.c

Fix build breakage due to the following commits:

Commit 6727bce44f456579b19069db27e6113e48d3f073
  ARM: 7042/3: mach-ep93xx: break out GPIO driver specifics

Commit 202b241c3a5d3c907cc1969f6b6731e92b5c5bac
  ARM: 7041/1: gpio-ep93xx: hookup the to_irq callback in the driver

The vision_ep9307 machine uses the ep93xx build-in gpios and needs to
include <mach/gpio-ep93xx.h> to pickup the defines.

The gpio_to_irq() call is now a callback to the gpio-ep93xx.c driver
and cannot be used as a constant initializer for the .irq member of
struct i2c_board_info.

Signed-off-by: Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ryan Mallon <rmallon@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ep93xx/vision_ep9307.c