diff options
Diffstat (limited to 'include/bootstrap.h')
-rw-r--r-- | include/bootstrap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/bootstrap.h b/include/bootstrap.h index 28852c0cb6..f8915e5c83 100644 --- a/include/bootstrap.h +++ b/include/bootstrap.h @@ -14,10 +14,10 @@ void bootstrap_boot(int (*func)(void), bool barebox); #ifdef CONFIG_BOOTSTRAP_DEVFS -void* bootstrap_read_devfs(char *devname, bool use_bb, int offset, +void* bootstrap_read_devfs(const char *devname, bool use_bb, int offset, int default_size, int max_size); #else -static inline void* bootstrap_read_devfs(char *devname, bool use_bb, int offset, +static inline void* bootstrap_read_devfs(const char *devname, bool use_bb, int offset, int default_size, int max_size) { return NULL; @@ -25,9 +25,9 @@ static inline void* bootstrap_read_devfs(char *devname, bool use_bb, int offset, #endif #ifdef CONFIG_BOOTSTRAP_DISK -void* bootstrap_read_disk(char *devname, char *fstype); +void* bootstrap_read_disk(const char *devname, const char *fstype); #else -static inline void* bootstrap_read_disk(char *devname, char *fstype) +static inline void* bootstrap_read_disk(const char *devname, const char *fstype) { return NULL; } |