blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / arm / mach-s3c64xx / ata-core.h
blob5951f24a9ec848541365d084e3b878c7ee5d6792
1 /*
2 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com
5 * Samsung CF-ATA Controller core functions
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.
12 #ifndef __ASM_PLAT_ATA_CORE_H
13 #define __ASM_PLAT_ATA_CORE_H __FILE__
15 /* These functions are only for use with the core support code, such as
16 * the cpu specific initialisation code
19 /* re-define device name depending on support. */
20 static inline void s3c_cfcon_setname(char *name)
22 #ifdef CONFIG_SAMSUNG_DEV_IDE
23 s3c_device_cfcon.name = name;
24 #endif
27 #endif /* __ASM_PLAT_ATA_CORE_H */