Skip to content
Snippets Groups Projects
Commit 757fe635 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 59088e4a
No related branches found
No related tags found
No related merge requests found
...@@ -114,14 +114,10 @@ typedef union at91_pio { ...@@ -114,14 +114,10 @@ typedef union at91_pio {
at91_port_t pioa; at91_port_t pioa;
at91_port_t piob; at91_port_t piob;
at91_port_t pioc; at91_port_t pioc;
#if (ATMEL_PIO_PORTS > 3) at91_port_t piod; /* not present in all hardware */
at91_port_t piod; at91_port_t pioe;/* not present in all hardware */
#endif };
#if (ATMEL_PIO_PORTS > 4) at91_port_t port[5];
at91_port_t pioe;
#endif
} ;
at91_port_t port[ATMEL_PIO_PORTS];
} at91_pio_t; } at91_pio_t;
#ifdef CONFIG_AT91_GPIO #ifdef CONFIG_AT91_GPIO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment