platform/x86: ideapad-laptop: constify rfkill_ops structure

Add const to rfkill_ops structure as it is only passed as an argument
to the functions rfkill_alloc. This argument is of type const,
so annotate the structure with const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Bhumika Goyal 2017-06-09 11:38:18 +05:30 коммит произвёл Darren Hart (VMware)
Родитель 8314a1c8dd
Коммит 3d59dfcd1f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -512,7 +512,7 @@ static int ideapad_rfk_set(void *data, bool blocked)
return write_ec_cmd(priv->priv->adev->handle, opcode, !blocked);
}
static struct rfkill_ops ideapad_rfk_ops = {
static const struct rfkill_ops ideapad_rfk_ops = {
.set_block = ideapad_rfk_set,
};