mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
dm: at91: Drop use of ATMEL_PIO_PORTS in the header file
With driver model the number of PIO ports is defined by platform data, so remove it from the header file. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
parent
59088e4a76
commit
757fe635df
1 changed files with 4 additions and 8 deletions
|
@ -114,14 +114,10 @@ typedef union at91_pio {
|
|||
at91_port_t pioa;
|
||||
at91_port_t piob;
|
||||
at91_port_t pioc;
|
||||
#if (ATMEL_PIO_PORTS > 3)
|
||||
at91_port_t piod;
|
||||
#endif
|
||||
#if (ATMEL_PIO_PORTS > 4)
|
||||
at91_port_t pioe;
|
||||
#endif
|
||||
} ;
|
||||
at91_port_t port[ATMEL_PIO_PORTS];
|
||||
at91_port_t piod; /* not present in all hardware */
|
||||
at91_port_t pioe;/* not present in all hardware */
|
||||
};
|
||||
at91_port_t port[5];
|
||||
} at91_pio_t;
|
||||
|
||||
#ifdef CONFIG_AT91_GPIO
|
||||
|
|
Loading…
Reference in a new issue