arm/imx/iomux-mx1: unify style and comment cleanup
- use __MACH_IOMUX_MX1_H__ as header protector analogous to <mach/mx...h> - use tabs for indention Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
parent
f021b5a1ef
commit
6863f19810
|
@ -15,21 +15,13 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef _MXC_IOMUX_MX1_H
|
||||
#define _MXC_IOMUX_MX1_H
|
||||
#ifndef __MACH_IOMUX_MX1_H__
|
||||
#define __MACH_IOMUX_MX1_H__
|
||||
|
||||
#ifndef GPIO_PORTA
|
||||
#error Please include mach/iomux.h
|
||||
#endif
|
||||
|
||||
/* FIXME: This list is not completed. The correct directions are
|
||||
* missing on some (many) pins
|
||||
*/
|
||||
|
||||
|
||||
/* Primary GPIO pin functions */
|
||||
|
||||
#define PA0_AIN_SPI2_CLK (GPIO_PORTA | GPIO_AIN | GPIO_OUT | 0)
|
||||
#define PA0_AF_ETMTRACESYNC (GPIO_PORTA | GPIO_AF | 0)
|
||||
#define PA1_AOUT_SPI2_RXD (GPIO_PORTA | GPIO_AOUT | GPIO_IN | 1)
|
||||
|
@ -162,5 +154,4 @@
|
|||
#define PD31_PF_TMR2OUT (GPIO_PORTD | GPIO_PF | 31)
|
||||
#define PD31_BIN_SPI2_TXD (GPIO_PORTD | GPIO_BIN | 31)
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* ifndef __MACH_IOMUX_MX1_H__ */
|
||||
|
|
Reference in New Issue