9
0
Fork 0

OMAP3430-SDP: Compile fixes

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Anand Gadiyar 2009-12-09 15:04:41 +05:30 committed by Sascha Hauer
parent 8c187839ee
commit fb7a9c98eb
1 changed files with 1 additions and 19 deletions

View File

@ -48,6 +48,7 @@
#include <driver.h>
#include <asm/io.h>
#include <ns16550.h>
#include <asm/armlinux.h>
#include <mach/silicon.h>
#include <mach/sdrc.h>
#include <mach/sys_info.h>
@ -646,20 +647,6 @@ struct device_d sdram_dev = {
.platform_data = &ram_pdata,
};
/*------------------------- RAM Devices -------------------------------------*/
#ifndef CONFIG_CMD_MEMORY
static struct driver_d ram_drv = {
.name = "ram",
.probe = dummy_probe,
.open = dev_open_default,
.close = dev_close_default,
.read = mem_read,
.write = mem_write,
.lseek = dev_lseek_default,
};
#endif
/*-----------------------Generic Devices Initialization ---------------------*/
static int sdp3430_devices_init(void)
@ -668,11 +655,6 @@ static int sdp3430_devices_init(void)
ret = register_device(&sdram_dev);
if (ret)
goto failed;
#ifndef CONFIG_CMD_MEMORY
ret = register_driver(&ram_drv);
if (ret)
goto failed;
#endif
ret = sdp3430_flash_init();
if (ret)
goto failed;