]> git.baikalelectronics.ru Git - kernel.git/commit
Platform: OLPC: Make olpc_dt_compatible_match() static __init
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 29 May 2019 08:34:02 +0000 (10:34 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Jun 2019 18:17:57 +0000 (21:17 +0300)
commitb8a84365bbff0f860c5dc5795405430d92d68966
treec62fe6fef326af4c7f91dad3fa29333a9904bb07
parentcdaf018c54bd957d5ee00b1b8c3c74e18138ee6e
Platform: OLPC: Make olpc_dt_compatible_match() static __init

Addresses a kbuild warning:

  >> WARNING: vmlinux.o(.text+0x3b764): Section mismatch in reference from
              the function olpc_dt_compatible_match() to the function
              .init.text:olpc_dt_getproperty()

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: a7a9bacb9a32 (x86/platform/olpc: Use a correct version when making up a battery node)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/platform/olpc/olpc_dt.c