dell-laptop: extract SMBIOS-related code to a separate module
authorMichał Kępień <kernel@kempniu.pl>
Fri, 22 Jan 2016 14:27:13 +0000 (15:27 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 23 Mar 2016 17:05:38 +0000 (10:05 -0700)
commit2f9f26bd8614740b3c3b950394d945a99492a28e
tree75ca9a6b8d4a117eb303e4e5f157c0c9b4210932
parent7faa6a37fa106cb0cad6203e8fc2aea646cb253a
dell-laptop: extract SMBIOS-related code to a separate module

Extract SMBIOS-related code from dell-laptop to a new kernel module,
dell-smbios.  The static specifier is removed from exported symbols,
otherwise code is just moved around.

Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
[dvhart: Include linux/io.h in dell-smbios.c as caught by lkp]
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/dell-laptop.c
drivers/platform/x86/dell-smbios.c [new file with mode: 0644]
drivers/platform/x86/dell-smbios.h [new file with mode: 0644]