ARM: pxa: ezx: fix a910 camera data
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Nov 2016 16:29:18 +0000 (17:29 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 18 Jan 2017 18:12:55 +0000 (19:12 +0100)
commit67af5ebde1a4cd10e7bb663440de0773b7597c70
tree2661ebcaa70fbf6ec67df8660c7c631f78607f78
parent7ce7d89f48834cefece7804d38fc5d85382edf77
ARM: pxa: ezx: fix a910 camera data

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>
arch/arm/mach-pxa/ezx.c