diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-24 13:25:44 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-24 13:25:44 -0700 |
commit | 3e9a6321f9895eac9a3d241d3126e44021e7102b (patch) | |
tree | d674cf54e26837bee89095c211ffa362c8546f03 /arch/arm/mach-omap2/gpmc-onenand.h | |
parent | 54ec52b6dd3b0ba4bc4eb97e7e1b2534705b326c (diff) | |
parent | e4c060db2c13f10de09101afc564763f9fd0019a (diff) | |
download | linux-3e9a6321f9895eac9a3d241d3126e44021e7102b.tar.gz linux-3e9a6321f9895eac9a3d241d3126e44021e7102b.tar.bz2 linux-3e9a6321f9895eac9a3d241d3126e44021e7102b.zip |
Merge tag 'omap-for-v3.8/cleanup-headers-signed' into omap-for-v3.8/cleanup-headers-serial-take2
This is the first set of omap cleanup patches for v3.8 merge
window to remove most of the remaining plat includes to get us
closer to ARM common zImage support.
To avoid a huge amount of trivial merge conflicts with includes,
this branch is based on several small topic branches coordinated
with the driver subsystem maintainers. These branches are based on
v3.7-rc1 and can also be merged into the related driver subsystem
branches as needed:
omap-for-v3.8/cleanup-headers-prepare few trivial driver changes
omap-for-v3.8/cleanup-headers-dma move of the DMA header
omap-for-v3.8/cleanup-headers-gpmc GPMC and MTD changes
omap-for-v3.8/cleanup-headers-mmc MMC related changes
omap-for-v3.8/cleanup-headers-dss DSS related changes
omap-for-v3.8/cleanup-headers-asoc ASoC related changes
Note that for the dma-omap.h, it was decided that it should be
is completed. For the related discussion, please see:
https://patchwork.kernel.org/patch/1519591/#
After these patches we still have a few plat headers remaining
that will be handled in later pull requests.
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 |