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)
commite9c6c5dfd1dba03802b98aea518c08ab48cbbcc4
treea7219d12d3b7333cf7e85c9c163904c0aeb7c9e6
parentffafe770a4160862476405a442d28ee48d2249ef
ep93xx: fix build of vision_ep93xx.c

Fix build breakage due to the following commits:

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

Commit 257af9f9725aa8a863b306659208a031135d59e7
  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