diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-17 20:07:18 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-17 20:07:18 +0200 |
commit | 99f0b8d6b09b0db6452d0d6e252bfa28049bbea9 (patch) | |
tree | 23db2359ad86957359da7c8a458e25eddb08d776 /arch/arm/mach-omap2/gpmc-onenand.h | |
parent | Merge branch 'omap-for-v3.8/cleanup-headers-dma' into omap-for-v3.8/cleanup-h... (diff) | |
parent | Merge tag 'gpmc-czimage' of git://gitorious.org/x0148406-public/linux-kernel ... (diff) | |
download | linux-99f0b8d6b09b0db6452d0d6e252bfa28049bbea9.tar.xz linux-99f0b8d6b09b0db6452d0d6e252bfa28049bbea9.zip |
Merge branch 'omap-for-v3.8/cleanup-headers-gpmc' into omap-for-v3.8/cleanup-headers
Conflicts:
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/pm34xx.c
drivers/mtd/nand/omap2.c
drivers/mtd/onenand/omap2.c
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-onenand.h')
-rw-r--r-- | arch/arm/mach-omap2/gpmc-onenand.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/gpmc-onenand.h b/arch/arm/mach-omap2/gpmc-onenand.h new file mode 100644 index 000000000000..216f23a8b45c --- /dev/null +++ b/arch/arm/mach-omap2/gpmc-onenand.h @@ -0,0 +1,24 @@ +/* + * arch/arm/mach-omap2/gpmc-onenand.h + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef __OMAP2_GPMC_ONENAND_H +#define __OMAP2_GPMC_ONENAND_H + +#include <linux/platform_data/mtd-onenand-omap2.h> + +#if IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2) +extern void gpmc_onenand_init(struct omap_onenand_platform_data *d); +#else +#define board_onenand_data NULL +static inline void gpmc_onenand_init(struct omap_onenand_platform_data *d) +{ +} +#endif + +#endif |