projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[cascardo/linux.git]
/
arch
/
mips
/
rb532
/
devices.c
diff --git
a/arch/mips/rb532/devices.c
b/arch/mips/rb532/devices.c
index
2f22d71
..
c1c2918
100644
(file)
--- a/
arch/mips/rb532/devices.c
+++ b/
arch/mips/rb532/devices.c
@@
-118,7
+118,7
@@
static struct platform_device cf_slot0 = {
/* Resources and device for NAND */
static int rb532_dev_ready(struct mtd_info *mtd)
{
/* Resources and device for NAND */
static int rb532_dev_ready(struct mtd_info *mtd)
{
- return
readl(IDT434_REG_BASE + GPIOD) & GPIO_RDY
;
+ return
gpio_get_value(GPIO_RDY)
;
}
static void rb532_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
}
static void rb532_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)