| From: Andrew Morton <akpm@linux-foundation.org> |
| Subject: firmware_loader-move-firmware-sysctl-to-its-own-files-fix-fix |
| |
| Cc: kernel test robot <lkp@intel.com> |
| Cc: Luis Chamberlain <mcgrof@kernel.org> |
| Cc: Stephen Rothwell <sfr@canb.auug.org.au> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| drivers/base/firmware_loader/fallback_table.c | 6 +++--- |
| 1 file changed, 3 insertions(+), 3 deletions(-) |
| |
| --- a/drivers/base/firmware_loader/fallback_table.c~firmware_loader-move-firmware-sysctl-to-its-own-files-fix-fix |
| +++ a/drivers/base/firmware_loader/fallback_table.c |
| @@ -4,7 +4,7 @@ |
| #include <linux/kconfig.h> |
| #include <linux/list.h> |
| #include <linux/slab.h> |
| -#include <linux/module.h> |
| +#include <linux/export.h> |
| #include <linux/security.h> |
| #include <linux/highmem.h> |
| #include <linux/umh.h> |
| @@ -57,13 +57,13 @@ int register_firmware_config_sysctl(void |
| return -ENOMEM; |
| return 0; |
| } |
| -EXPORT_SYMBOL(register_firmware_config_sysctl); |
| +EXPORT_SYMBOL_NS_GPL(register_firmware_config_sysctl); |
| |
| void unregister_firmware_config_sysctl(void) |
| { |
| unregister_sysctl_table(firmware_config_sysct_table_header); |
| firmware_config_sysct_table_header = NULL; |
| } |
| -EXPORT_SYMBOL(unregister_firmware_config_sysctl); |
| +EXPORT_SYMBOL_NS_GPL(unregister_firmware_config_sysctl); |
| |
| #endif /* CONFIG_SYSCTL */ |
| _ |