Commit ebe3b466 authored by Luis Fernando Ruiz's avatar Luis Fernando Ruiz Committed by Juan David González Cobas

svec: function svec_is_bootloader_active renamed, c files

parent 00ca9b60
......@@ -19,7 +19,7 @@ static ssize_t svec_show_bootloader_active(struct device *pdev,
size_t ret;
int active;
active = svec_bootloader_is_active(card);
active = svec_is_bootloader_active(card);
if (active < 0)
return active;
......@@ -48,7 +48,7 @@ static ssize_t svec_show_firmware_name(struct device *pdev,
size_t ret;
int bl_active;
bl_active = svec_bootloader_is_active(card);
bl_active = svec_is_bootloader_active(card);
if (bl_active < 0)
return bl_active;
......
......@@ -145,7 +145,7 @@ int svec_bootloader_unlock(struct svec_dev *svec)
return 0;
}
int svec_bootloader_is_active(struct svec_dev *svec)
int svec_is_bootloader_active(struct svec_dev *svec)
{
struct device *dev = svec->dev;
uint32_t idc;
......@@ -242,7 +242,7 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size)
}
/* Check if bootloader is active */
if (!svec_bootloader_is_active(svec)) {
if (!svec_is_bootloader_active(svec)) {
dev_err(dev, "Bootloader locked after unlock!\n");
return -EINVAL;
}
......
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