]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ARM: 7054/1: arm/tegra: Delete custom gpio_to_irq, and irq_to_gpio
authorStephen Warren <swarren@nvidia.com>
Mon, 22 Aug 2011 23:39:57 +0000 (00:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Aug 2011 07:28:38 +0000 (08:28 +0100)
commitece88dc08b87501025927bf52e460655f89e2c02
tree80401ab46ecb8197a71ccb12ed07471ebe0dd3f6
parent438a99c078b1bc3c9aebd92e7928f2477311d3e5
ARM: 7054/1: arm/tegra: Delete custom gpio_to_irq, and irq_to_gpio

By not definining a custom gpio_to_irq, the default gpiolib version is
used, allowing platform consolidation.

irq_to_gpio is deprecated and in the process of being removed. Make that
happen now for ARM Tegra.

This also partially fixes the Tegra build; it was broken because gpio.h
referred to EINVAL, which wasn't always defined when <mach/gpio.h> was
included.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-tegra/include/mach/gpio.h