diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-03 13:14:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-06 07:42:23 +0100 |
commit | 7cb9af239bee8ce5015dbec02c19b024ea672ce4 (patch) | |
tree | d23d8b78b76d783130ba14652cceaf2874a85cbd /arch/sandbox/mach-sandbox | |
parent | e146c5f947a27a7c703fba707d86876b7f284ca7 (diff) | |
download | barebox-7cb9af239bee8ce5015dbec02c19b024ea672ce4.tar.gz barebox-7cb9af239bee8ce5015dbec02c19b024ea672ce4.tar.xz |
sandbox: hostfile: completely switch to OF based probing
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/mach-sandbox')
-rw-r--r-- | arch/sandbox/mach-sandbox/include/mach/hostfile.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/sandbox/mach-sandbox/include/mach/hostfile.h b/arch/sandbox/mach-sandbox/include/mach/hostfile.h index 747063182c..627fe28e76 100644 --- a/arch/sandbox/mach-sandbox/include/mach/hostfile.h +++ b/arch/sandbox/mach-sandbox/include/mach/hostfile.h @@ -1,15 +1,14 @@ #ifndef __ASM_ARCH_HOSTFILE_H #define __ASM_ARCH_HOSTFILE_H -struct hf_platform_data { +struct hf_info { int fd; - size_t size; unsigned long base; - char *filename; - char *devname; + size_t size; + const char *devname; + const char *filename; }; -int barebox_register_filedev(struct hf_platform_data *hf); +int barebox_register_filedev(struct hf_info *hf); #endif /* __ASM_ARCH_HOSTFILE_H */ - |