mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
ar71xx: fix sections mismatch warnings in the nand drivers
SVN-Revision: 29667
This commit is contained in:
parent
232eb83f74
commit
8eb0b7ab3d
@ -134,7 +134,7 @@ static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf,
|
||||
pr_err("rb4xx_nand: read buf failed, err=%d\n", err);
|
||||
}
|
||||
|
||||
static int __init rb4xx_nand_probe(struct platform_device *pdev)
|
||||
static int __devinit rb4xx_nand_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct rb4xx_nand_info *info;
|
||||
int ret;
|
||||
|
@ -260,7 +260,7 @@ static void __init rb750_nand_gpio_init(void)
|
||||
rb750_latch_change(~out & RB750_NAND_IO0, out & RB750_NAND_IO0);
|
||||
}
|
||||
|
||||
static int __init rb750_nand_probe(struct platform_device *pdev)
|
||||
static int __devinit rb750_nand_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct rb750_nand_info *info;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user