Commit 754f9700 authored by Federico Vaga's avatar Federico Vaga Committed by Alessandro Rubini

wr-nic-core.c: use wrn_filename instead of WRN_GATAWARE_DEFAULT_NAME

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 6897d5a1
......@@ -42,7 +42,7 @@ int wrn_probe(struct fmc_device *fmc)
fmc_set_drvdata(fmc, dd);
/* We first write a new binary (and lm32) within the spec */
ret = fmc->op->reprogram(fmc, &wrn_drv, WRN_GATEWARE_DEFAULT_NAME);
ret = fmc->op->reprogram(fmc, &wrn_drv, wrn_filename);
if (ret <0) {
dev_err(dev, "write firmware \"%s\": error %i\n",
wrn_filename, ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment