aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2005-11-05 05:16:50 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-05 05:16:50 -0500
commit25cc5e5bd20e9274dddb9d1e55b83798363528dc (patch)
treefd065b54bbce7e04387670e163d2aba1ddf43ace /arch/powerpc/kernel
parent34cf9e37507c65f7398df4c21a18d4a3e83881d7 (diff)
[MMC] Fix chip config in wbsd
There is a broken if clause in the wbsd driver that can cause the driver to try and configure the chip even though none is found. This results in i/o on invalid ports. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions
l opt">.st_rdev != (u32)stat.st_rdev) return 0; return stat.st_rdev; } #else static inline u32 bstat(char *name) { struct stat stat; if (sys_newstat(name, &stat) != 0) return 0; if (!S_ISBLK(stat.st_mode)) return 0; return stat.st_rdev; } #endif #ifdef CONFIG_BLK_DEV_RAM int __init rd_load_disk(int n); int __init rd_load_image(char *from); #else static inline int rd_load_disk(int n) { return 0; } static inline int rd_load_image(char *from) { return 0; } #endif #ifdef CONFIG_BLK_DEV_INITRD int __init initrd_load(void); #else static inline int initrd_load(void) { return 0; } #endif #ifdef CONFIG_BLK_DEV_MD void md_run_setup(void); #else static inline void md_run_setup(void) {} #endif