]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86/intel-uncore-freq: make uncore_root_kobj static
authorJason Yan <yanaijie@huawei.com>
Wed, 8 Apr 2020 02:42:00 +0000 (10:42 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Apr 2020 13:48:06 +0000 (16:48 +0300)
commitd4514b9c6378440e7358843269800ebc11838be1
treea559d55244f13c611122534eeac577e1f62a4b28
parente8fdbb64fd6200626389fd0e9dea67ab1ee13a95
platform/x86/intel-uncore-freq: make uncore_root_kobj static

Fix the following sparse warning:

drivers/platform/x86/intel-uncore-frequency.c:56:16: warning: symbol
'uncore_root_kobj' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel-uncore-frequency.c