Skip to content

Commit

Permalink
arm/imx/iomux-mx25: unify style and comment cleanup
Browse files Browse the repository at this point in the history
- use __MACH_IOMUX_MX25_H__ as header protector analogous to
  <mach/mx...h>
- remove doxygen comments
- remove #error about mach/iomux.h which is unused on mx25
- remove #ifndef __ASSEMBLY__ which is unneeded here

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
  • Loading branch information
Uwe Kleine-König committed Feb 24, 2010
1 parent 6985a71 commit e76feb8
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions arch/arm/plat-mxc/include/mach/iomux-mx25.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,11 @@
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
#ifndef __IOMUX_MX25_H__
#define __IOMUX_MX25_H__
#ifndef __MACH_IOMUX_MX25_H__
#define __MACH_IOMUX_MX25_H__

#include <mach/iomux-v3.h>

#ifndef GPIO_PORTA
#error Please include mach/iomux.h
#endif

/*
*
* @brief MX25 I/O Pin List
*
* @ingroup GPIO_MX25
*/

#ifndef __ASSEMBLY__

/*
* IOMUX/PAD Bit field definitions
*/
Expand Down Expand Up @@ -513,5 +500,4 @@
#define MX25_PAD_CTL_GRP_DVS_SDHC1 IOMUX_PAD(0x458, 0x000, 0, 0, 0, NO_PAD_CTRL)
#define MX25_PAD_CTL_GRP_DVS_LCD IOMUX_PAD(0x45c, 0x000, 0, 0, 0, NO_PAD_CTRL)

#endif // __ASSEMBLY__
#endif // __IOMUX_MX25_H__
#endif /* __MACH_IOMUX_MX25_H__ */

0 comments on commit e76feb8

Please sign in to comment.