]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: ideapad-laptop: constify rfkill_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 9 Jun 2017 06:08:18 +0000 (11:38 +0530)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 13 Jun 2017 18:00:20 +0000 (11:00 -0700)
commitb1b7998e78b519a92682b5033947e75b54c601b8
treed03b7f89401d1e58052e83de993e7f55cd1c3035
parent17763dce3026fc8cae945b3e36d4eb0052a0016e
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>
drivers/platform/x86/ideapad-laptop.c