diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-10 21:20:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-07-21 16:41:46 +0200 |
commit | 4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd (patch) | |
tree | 8b414f0b816d7faea139e8e6de2c3aaa0b8207a2 /board | |
parent | 6459b135d9f1cc1aee8d3564a6097ae21e30b2ac (diff) | |
download | barebox-4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd.tar.gz barebox-4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd.tar.xz |
Get rid of remaining DEVICE_TYPE_* usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/sandbox/hostfile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/sandbox/hostfile.c b/board/sandbox/hostfile.c index 6521722209..b6f1dbd3d7 100644 --- a/board/sandbox/hostfile.c +++ b/board/sandbox/hostfile.c @@ -64,7 +64,6 @@ static struct driver_d hf_drv = { .read = hf_read, .write = hf_write, .info = hf_info, - .type = DEVICE_TYPE_BLOCK, }; static int hf_init(void) @@ -88,7 +87,6 @@ int u_boot_register_filedev(struct hf_platform_data *hf, char *name_template) get_free_deviceid(dev->id, name_template); dev->size = hf->size; dev->map_base = hf->map_base; - dev->type = DEVICE_TYPE_BLOCK; return register_device(dev); } |