]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: dell-rbtn: constify rfkill_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 9 Jun 2017 05:57:40 +0000 (11:27 +0530)
committerDarren Hart (VMware) <dvhart@infradead.org>
Tue, 13 Jun 2017 18:00:21 +0000 (11:00 -0700)
commit1b4d75684371475c19c3955131921f277e6e1763
tree18343cb5d4c0bab684d275cf8ea8366637ebbe89
parentb1b7998e78b519a92682b5033947e75b54c601b8
platform/x86: dell-rbtn: constify rfkill_ops structures

Add const to rfkill_ops structures that are only passed as an argument
to the functions rfkill_alloc or samsung_new_rfkill. These arguments are
of type const, so such structures can be annotated with const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-rbtn.c