diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-11-25 18:57:08 +0100 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-11-26 12:51:19 +0800 |
commit | 72e9622c2a2eb73d82c716504cc93d22cd3cfd8e (patch) | |
tree | 7eccc426693316850a7550fb50c6a005dcd01ac8 /arch/arm | |
parent | 844c6f6a36984c5fe1bcc2d68a88f2ed212d1eef (diff) | |
download | kernel_samsung_smdk4412-72e9622c2a2eb73d82c716504cc93d22cd3cfd8e.zip kernel_samsung_smdk4412-72e9622c2a2eb73d82c716504cc93d22cd3cfd8e.tar.gz kernel_samsung_smdk4412-72e9622c2a2eb73d82c716504cc93d22cd3cfd8e.tar.bz2 |
[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data
0 is a valid GPIO number, use a negative number to specify, that this camera
doesn't have a GPIO for bus-width switching.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/pcm990-baseboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pcm990-baseboard.c b/arch/arm/mach-pxa/pcm990-baseboard.c index f601425..b36cec5c 100644 --- a/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/arch/arm/mach-pxa/pcm990-baseboard.c @@ -385,6 +385,7 @@ static struct soc_camera_link iclink[] = { .gpio = NR_BUILTIN_GPIO + 1, }, { .bus_id = 0, /* Must match with the camera ID above */ + .gpio = -ENXIO, } }; |