Skip to content

Commit c729baa

Browse files
author
Linus Walleij
committed
ARM: omap1: Exorcise the legacy GPIO header
After fixing all the offending users referencing the global GPIO numberspace in OMAP1, a few sites still remain including the legacy <linus/gpio.h> header for no reason. Delete the last remaining users, and OMAP1 is free from legacy GPIO dependencies. Fixes: 92bf78b ("gpio: omap: use dynamic allocation of base") Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent df89de9 commit c729baa

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

arch/arm/mach-omap1/devices.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77

88
#include <linux/dma-mapping.h>
9-
#include <linux/gpio.h>
109
#include <linux/module.h>
1110
#include <linux/kernel.h>
1211
#include <linux/init.h>

arch/arm/mach-omap1/gpio15xx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* Charulatha V <charu@ti.com>
99
*/
1010

11-
#include <linux/gpio.h>
1211
#include <linux/platform_data/gpio-omap.h>
1312
#include <linux/soc/ti/omap1-soc.h>
1413
#include <asm/irq.h>

arch/arm/mach-omap1/gpio16xx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* Charulatha V <charu@ti.com>
99
*/
1010

11-
#include <linux/gpio.h>
1211
#include <linux/platform_data/gpio-omap.h>
1312
#include <linux/soc/ti/omap1-io.h>
1413

arch/arm/mach-omap1/irq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
* with this program; if not, write to the Free Software Foundation, Inc.,
3636
* 675 Mass Ave, Cambridge, MA 02139, USA.
3737
*/
38-
#include <linux/gpio.h>
3938
#include <linux/init.h>
4039
#include <linux/module.h>
4140
#include <linux/sched.h>

0 commit comments

Comments
 (0)