summaryrefslogtreecommitdiffstats
path: root/lib/bootstrap/devfs.c
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@kymetacorp.com>2015-12-10 21:50:51 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-08 08:30:55 +0100
commita3544b162ee647a5df5026cf5e7b7ce31e8635d8 (patch)
treee2411fdf5a89a5abe11fd9f1e3b26235df55286b /lib/bootstrap/devfs.c
parent5e3069f3f9f4ca2f94cfa699b72c8f737a4bb9bf (diff)
downloadbarebox-a3544b162ee647a5df5026cf5e7b7ce31e8635d8.tar.gz
barebox-a3544b162ee647a5df5026cf5e7b7ce31e8635d8.tar.xz
bootstrap: constify strings
Various parameters for device names, etc. should be const strings. Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/bootstrap/devfs.c')
-rw-r--r--lib/bootstrap/devfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bootstrap/devfs.c b/lib/bootstrap/devfs.c
index 5a64477eed..6a3dd76cdd 100644
--- a/lib/bootstrap/devfs.c
+++ b/lib/bootstrap/devfs.c
@@ -80,7 +80,7 @@ static unsigned int get_image_size(void *head)
}
#endif
-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)
{
int ret;