[PATCH 2/5] [Nios2]: Fix typo in generic.c
franck.jullien at gmail.com
franck.jullien at gmail.com
Sun May 15 15:34:29 EDT 2011
From: Franck JULLIEN <franck.jullien at gmail.com>
The device init function has the name of one of my board (comBoard).
This patch fix the name of the function to generic_device_init.
Signed-off-by: Franck JULLIEN <franck.jullien at gmail.com>
---
arch/nios2/boards/generic/generic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/nios2/boards/generic/generic.c b/arch/nios2/boards/generic/generic.c
index 7e939ce..4f7e747 100644
--- a/arch/nios2/boards/generic/generic.c
+++ b/arch/nios2/boards/generic/generic.c
@@ -48,7 +48,7 @@ static struct device_d epcs_flash_device = {
};
*/
-static int comBoard_devices_init(void)
+static int generic_devices_init(void)
{
register_device(&cfi_dev);
register_device(&ram_dev);
@@ -63,7 +63,7 @@ static int comBoard_devices_init(void)
return 0;
}
-device_initcall(comBoard_devices_init);
+device_initcall(generic_devices_init);
static int altera_console_init(void)
--
1.7.0.4
More information about the barebox
mailing list