ARM: pxa: ezx: fix a910 camera data
commit96b61a1bad475eb71a219cc48e1f17f281623ac7
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Nov 2016 16:29:18 +0000 (24 17:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:21 +0000 (14 14:08 +0200)
tree420490dd445993fbeea43b75b91c293319a2096a
parentbaebaada5f010857331fda6fbcc1e7789aa15d62
ARM: pxa: ezx: fix a910 camera data

commit 67af5ebde1a4cd10e7bb663440de0773b7597c70 upstream.

The camera_supply_dummy_device definition is shared between a780 and a910,
but only provided when the first is enabled and fails to build for a
configuration with only a910:

arch/arm/mach-pxa/ezx.c:1097:3: error: 'camera_supply_dummy_device' undeclared here (not in a function)

This moves the definition into its own section.

Fixes: 6c1b417adc8f ("ARM: pxa: ezx: use the new pxa_camera platform_data")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/ezx.c