diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-06 12:57:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-20 07:47:11 +0200 |
commit | 0d14bc0ec4f8017e49ab5d2d91c45f5957afc31d (patch) | |
tree | 30b1d3e1b3eab5d735872c40c488036cb97fb184 /arch/arm/mach-mxs | |
parent | 85008e55422ff7576a251c2214c7d32ad8aab600 (diff) | |
download | barebox-0d14bc0ec4f8017e49ab5d2d91c45f5957afc31d.tar.gz barebox-0d14bc0ec4f8017e49ab5d2d91c45f5957afc31d.tar.xz |
gpio: Drop asm-generic/gpio.h
Since we no longer have custom gpio function prototypes we can
drop the prototypes from asm-generic/gpio.h can add them to
include/gpio.h instead. While at it add static inline dummy wrappers
for !CONFIG_GENERIC_GPIO so that code using gpios can compile without
gpio support.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/gpio.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-mxs/include/mach/gpio.h b/arch/arm/mach-mxs/include/mach/gpio.h deleted file mode 100644 index 8643c98d5a..0000000000 --- a/arch/arm/mach-mxs/include/mach/gpio.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * (C) Copyright 2010 Juergen Beisert - Pengutronix - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ - -#ifndef __ASM_MACH_GPIO_H -#define __ASM_MACH_GPIO_H - -#include <asm-generic/gpio.h> - -#endif /* __ASM_MACH_GPIO_H */ |