diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-03 13:14:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-06 07:42:21 +0100 |
commit | c265ed260d0a85c03046fa450c6a2246e0d6eb88 (patch) | |
tree | c279842e4ee285cd0cd7f836ab32b7a9918d5399 /arch/sandbox/board/hostfile.c | |
parent | efda5d09bb012c11f830c6fadf0de09017b1edcf (diff) | |
download | barebox-c265ed260d0a85c03046fa450c6a2246e0d6eb88.tar.gz barebox-c265ed260d0a85c03046fa450c6a2246e0d6eb88.tar.xz |
sandbox: hostfile: clarify variable names
Use "filename" for the name of the file in the host system, while "devname" for
the device in the sandbox.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/board/hostfile.c')
-rw-r--r-- | arch/sandbox/board/hostfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index ac29cfa47a..5324da6f48 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -73,7 +73,7 @@ static int hf_probe(struct device_d *dev) priv->pdata = hf; - priv->cdev.name = hf->name; + priv->cdev.name = hf->devname; priv->cdev.size = hf->size; priv->cdev.ops = &hf_fops; priv->cdev.priv = hf; |