]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/mach-omap2/gpmc-onenand.h
Merge remote-tracking branch 'origin/omaplfb' into p-ti-android-3.8.y-video
[android-sdk/kernel-video.git] / arch / arm / mach-omap2 / gpmc-onenand.h
1 /*
2  *  arch/arm/mach-omap2/gpmc-onenand.h
3  *
4  *  This program is free software; you can redistribute  it and/or modify it
5  *  under  the terms of  the GNU General  Public License as published by the
6  *  Free Software Foundation;  either version 2 of the  License, or (at your
7  *  option) any later version.
8  */
10 #ifndef __OMAP2_GPMC_ONENAND_H
11 #define __OMAP2_GPMC_ONENAND_H
13 #include <linux/platform_data/mtd-onenand-omap2.h>
15 #if IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2)
16 extern void gpmc_onenand_init(struct omap_onenand_platform_data *d);
17 #else
18 #define board_onenand_data      NULL
19 static inline void gpmc_onenand_init(struct omap_onenand_platform_data *d)
20 {
21 }
22 #endif
24 #endif