]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 19 Dec 2012 11:31:11 +0000 (12:31 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 19 Dec 2012 22:15:14 +0000 (22:15 +0000)
commitbc1008cf7d243cf6ad87b1e16d3dbbd8c8d6f35c
treedeeda109d75da9c4035e766f59bdb1c4ffaa0fb0
parentd39a948fef2446cfac3749bbfcfdd536335c3764
gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG

When building without device tree support (for the mv78x00 SoCs for
example), the build failed because of_irq_count is undeclared. However
mvebu-gpio is not designed to build without device tree support. So
make it depends on OF_CONFIG, remove the #ifdef OF_CONFIG line and the
platform_device_id.

Tested on RD-78x00-mASA, DB-78460-BP, DB-88F6710-BP-DDR3,
DB-MV784MP-GP, Mirabox and OpenBlocks AX3.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/Kconfig
drivers/gpio/gpio-mvebu.c