mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 02:51:11 +01:00
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 <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Cc: Kukjin Kim <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Ben Dooks <[email protected]> Cc: Jeff Garzik <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: "Wolfram Sang (embedded platforms)" <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Bryan Wu <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Sylwester Nawrocki <[email protected]> Cc: Chris Ball <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Grant Likely <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: Alan Stern <[email protected]> Cc: Sangbeom Kim <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: [email protected]
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 */
|