mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
436d42c61c
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the samsung include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Bryan Wu <bryan.wu@canonical.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Felipe Balbi <balbi@ti.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Sangbeom Kim <sbkim73@samsung.com> Cc: Liam Girdwood <lrg@ti.com> Cc: linux-samsung-soc@vger.kernel.org
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/* linux/arch/arm/plat-samsung/include/plat/ata.h
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* Samsung CF-ATA platform_device info
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_PLAT_ATA_H
|
|
#define __ASM_PLAT_ATA_H __FILE__
|
|
|
|
/**
|
|
* struct s3c_ide_platdata - S3C IDE driver platform data.
|
|
* @setup_gpio: Setup the external GPIO pins to the right state for data
|
|
* transfer in true-ide mode.
|
|
*/
|
|
struct s3c_ide_platdata {
|
|
void (*setup_gpio)(void);
|
|
};
|
|
|
|
/*
|
|
* s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
|
|
* @pdata: Platform data for IDE driver.
|
|
*/
|
|
extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
|
|
|
|
/* architecture-specific IDE configuration */
|
|
extern void s3c64xx_ide_setup_gpio(void);
|
|
extern void s5pc100_ide_setup_gpio(void);
|
|
extern void s5pv210_ide_setup_gpio(void);
|
|
|
|
#endif /*__ASM_PLAT_ATA_H */
|