platform/x86: intel-vbtn: Move to intel sub-directory
Move Intel vButton driver to intel sub-directory to improve readability. Signed-off-by: Kate Hsuan <hpa@redhat.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210820110458.73018-19-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
cdbb8f5e79
commit
3afeacfd39
|
@ -9571,7 +9571,7 @@ INTEL VIRTUAL BUTTON DRIVER
|
|||
M: AceLan Kao <acelan.kao@canonical.com>
|
||||
L: platform-driver-x86@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/platform/x86/intel-vbtn.c
|
||||
F: drivers/platform/x86/intel/vbtn.c
|
||||
|
||||
INTEL WIRELESS 3945ABG/BG, 4965AGN (iwlegacy)
|
||||
M: Stanislaw Gruszka <stf_xl@wp.pl>
|
||||
|
|
|
@ -668,19 +668,6 @@ config THINKPAD_LMI
|
|||
|
||||
source "drivers/platform/x86/intel/Kconfig"
|
||||
|
||||
config INTEL_VBTN
|
||||
tristate "INTEL VIRTUAL BUTTON"
|
||||
depends on ACPI
|
||||
depends on INPUT
|
||||
depends on I2C
|
||||
select INPUT_SPARSEKMAP
|
||||
help
|
||||
This driver provides support for the Intel Virtual Button interface.
|
||||
Some laptops require this driver for power button support.
|
||||
|
||||
To compile this driver as a module, choose M here: the module will
|
||||
be called intel_vbtn.
|
||||
|
||||
config MSI_LAPTOP
|
||||
tristate "MSI Laptop Extras"
|
||||
depends on ACPI
|
||||
|
|
|
@ -71,8 +71,6 @@ obj-$(CONFIG_THINKPAD_LMI) += think-lmi.o
|
|||
# Intel
|
||||
obj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL) += intel/
|
||||
|
||||
obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
|
||||
|
||||
# MSI
|
||||
obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o
|
||||
obj-$(CONFIG_MSI_WMI) += msi-wmi.o
|
||||
|
|
|
@ -38,6 +38,19 @@ config INTEL_HID_EVENT
|
|||
To compile this driver as a module, choose M here: the module will
|
||||
be called intel_hid.
|
||||
|
||||
config INTEL_VBTN
|
||||
tristate "Intel Virtual Button"
|
||||
depends on ACPI
|
||||
depends on INPUT
|
||||
depends on I2C
|
||||
select INPUT_SPARSEKMAP
|
||||
help
|
||||
This driver provides support for the Intel Virtual Button interface.
|
||||
Some laptops require this driver for power button support.
|
||||
|
||||
To compile this driver as a module, choose M here: the module will
|
||||
be called intel_vbtn.
|
||||
|
||||
config INTEL_INT0002_VGPIO
|
||||
tristate "Intel ACPI INT0002 Virtual GPIO driver"
|
||||
depends on GPIOLIB && ACPI && PM_SLEEP
|
||||
|
|
|
@ -16,6 +16,8 @@ obj-$(CONFIG_INTEL_TELEMETRY) += telemetry/
|
|||
# Intel input drivers
|
||||
intel-hid-y := hid.o
|
||||
obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
|
||||
intel-vbtn-y := vbtn.o
|
||||
obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
|
||||
|
||||
# Intel miscellaneous drivers
|
||||
intel_int0002_vgpio-y := int0002_vgpio.o
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/suspend.h>
|
||||
#include "dual_accel_detect.h"
|
||||
#include "../dual_accel_detect.h"
|
||||
|
||||
/* Returned when NOT in tablet mode on some HP Stream x360 11 models */
|
||||
#define VGBS_TABLET_MODE_FLAG_ALT 0x10
|
Loading…
Reference in New Issue