Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / linux / platform_data / ata-samsung_cf.h
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
3  *              http://www.samsung.com
4  *
5  * Samsung CF-ATA platform_device info
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 #ifndef __ATA_SAMSUNG_CF_H
13 #define __ATA_SAMSUNG_CF_H __FILE__
14
15 /**
16  * struct s3c_ide_platdata - S3C IDE driver platform data.
17  * @setup_gpio: Setup the external GPIO pins to the right state for data
18  * transfer in true-ide mode.
19  */
20 struct s3c_ide_platdata {
21         void (*setup_gpio)(void);
22 };
23
24 /*
25  * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
26  * @pdata: Platform data for IDE driver.
27  */
28 extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
29
30 /* architecture-specific IDE configuration */
31 extern void s3c64xx_ide_setup_gpio(void);
32 extern void s5pv210_ide_setup_gpio(void);
33
34 #endif /*__ATA_SAMSUNG_CF_H */