Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 authored by Linus Torvalds on 30 June 2013, 22:13:29 UTC
Linux 3.10
Tip revision: 8bb495e
gpmc-onenand.h
/*
 *  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
back to top