platform/x86: Enable build support for toshiba_haps

Makefile and Kconfig build support patch for the newly introduced
kernel module toshiba_haps.

Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>

authored by Azael Avalos and committed by Matthew Garrett 186e4e89 f369aa6d

Changed files
+20
drivers
platform
+19
drivers/platform/x86/Kconfig
··· 652 652 If you have a modern Toshiba laptop with a Bluetooth and an 653 653 RFKill switch (such as the Portege R500), say Y. 654 654 655 + config TOSHIBA_HAPS 656 + tristate "Toshiba HDD Active Protection Sensor" 657 + depends on ACPI 658 + ---help--- 659 + This driver adds support for the built-in accelerometer 660 + found on recent Toshiba laptops equiped with HID TOS620A 661 + device. 662 + 663 + This driver receives ACPI notify events 0x80 when the sensor 664 + detects a sudden move or a harsh vibration, as well as an 665 + ACPI notify event 0x81 whenever the movement or vibration has 666 + been stabilized. 667 + 668 + Also provides sysfs entries to get/set the desired protection 669 + level and reseting the HDD protection interface. 670 + 671 + If you have a recent Toshiba laptop with a built-in accelerometer 672 + device, say Y. 673 + 655 674 config ACPI_CMPC 656 675 tristate "CMPC Laptop Extras" 657 676 depends on X86 && ACPI
+1
drivers/platform/x86/Makefile
··· 38 38 obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o 39 39 40 40 obj-$(CONFIG_TOSHIBA_BT_RFKILL) += toshiba_bluetooth.o 41 + obj-$(CONFIG_TOSHIBA_HAPS) += toshiba_haps.o 41 42 obj-$(CONFIG_INTEL_SCU_IPC) += intel_scu_ipc.o 42 43 obj-$(CONFIG_INTEL_SCU_IPC_UTIL) += intel_scu_ipcutil.o 43 44 obj-$(CONFIG_INTEL_MFLD_THERMAL) += intel_mid_thermal.o