Skip to content

Commit d92ef29

Browse files
broonieglikely
authored andcommitted
h8300: Move gpio.h to gpio-internal.h
The current h8300 GPIO implementation doesn't provide the standard GPIO API, and in fact provides only direction control rather than normal GPIO functionality. Currently this is only used by the platform interrupt implementation rather than by a range of drivers so in preparation for moving over to gpiolib move the header out of the way of the gpiolib header, allowing a default GPIO implementation to be provided. For actual use of these GPIOs with gpiolib a real driver would still need to be written but there appears to be no current need for this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
1 parent 76c05c8 commit d92ef29

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/h8300/platform/h8300h/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <asm/traps.h>
1212
#include <asm/irq.h>
1313
#include <asm/io.h>
14-
#include <asm/gpio.h>
14+
#include <asm/gpio-internal.h>
1515
#include <asm/regs306x.h>
1616

1717
const int __initdata h8300_saved_vectors[] = {

‎arch/h8300/platform/h8s/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <asm/traps.h>
1515
#include <asm/irq.h>
1616
#include <asm/io.h>
17-
#include <asm/gpio.h>
17+
#include <asm/gpio-internal.h>
1818
#include <asm/regs267x.h>
1919

2020
/* saved vector list */

0 commit comments

Comments
 (0)