From e0a13e224236dda620e4f3eb9d571d161873f019 Mon Sep 17 00:00:00 2001 From: Franck JULLIEN Date: Sun, 15 May 2011 21:34:29 +0200 Subject: Fix typo in generic.c 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 Signed-off-by: Sascha Hauer --- arch/nios2/boards/generic/generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/nios2') diff --git a/arch/nios2/boards/generic/generic.c b/arch/nios2/boards/generic/generic.c index 7e939ce22f..4f7e7479e2 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) -- cgit v1.2.3