1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4  *		http://www.samsung.com
5  *
6  * Samsung CF-ATA platform_device info
7 */
8 
9 #ifndef __ATA_SAMSUNG_CF_H
10 #define __ATA_SAMSUNG_CF_H __FILE__
11 
12 /**
13  * struct s3c_ide_platdata - S3C IDE driver platform data.
14  * @setup_gpio: Setup the external GPIO pins to the right state for data
15  * transfer in true-ide mode.
16  */
17 struct s3c_ide_platdata {
18 	void (*setup_gpio)(void);
19 };
20 
21 /*
22  * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
23  * @pdata: Platform data for IDE driver.
24  */
25 extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
26 
27 /* architecture-specific IDE configuration */
28 extern void s3c64xx_ide_setup_gpio(void);
29 extern void s5pv210_ide_setup_gpio(void);
30 
31 #endif /*__ATA_SAMSUNG_CF_H */
32