Merge "input: misc: add Kconfig and Makefile for pat9125"
This commit is contained in:
commit
8f873ba767
4 changed files with 24 additions and 0 deletions
|
@ -823,4 +823,6 @@ config INPUT_DRV2667_HAPTICS
|
||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called drv2667-haptics.
|
module will be called drv2667-haptics.
|
||||||
|
|
||||||
|
source "drivers/input/misc/ots_pat9125/Kconfig"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -78,3 +78,4 @@ obj-$(CONFIG_INPUT_WM831X_ON) += wm831x-on.o
|
||||||
obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o
|
obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o
|
||||||
obj-$(CONFIG_INPUT_YEALINK) += yealink.o
|
obj-$(CONFIG_INPUT_YEALINK) += yealink.o
|
||||||
obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
|
obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
|
||||||
|
obj-$(CONFIG_INPUT_PIXART_OTS_PAT9125_SWITCH) += ots_pat9125/
|
||||||
|
|
14
drivers/input/misc/ots_pat9125/Kconfig
Normal file
14
drivers/input/misc/ots_pat9125/Kconfig
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#
|
||||||
|
# PixArt OTS switch driver configuration
|
||||||
|
#
|
||||||
|
|
||||||
|
config INPUT_PIXART_OTS_PAT9125_SWITCH
|
||||||
|
tristate "PixArt PAT9125 Rotating Switch driver"
|
||||||
|
depends on INPUT && I2C && GPIOLIB
|
||||||
|
help
|
||||||
|
Say Y to enable support for the PixArt OTS pat9125
|
||||||
|
rotating switch driver.
|
||||||
|
If unsure, say N.
|
||||||
|
|
||||||
|
To compile this driver as a module, choose M here: the
|
||||||
|
module will be called ots_pat9125.
|
7
drivers/input/misc/ots_pat9125/Makefile
Normal file
7
drivers/input/misc/ots_pat9125/Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# Makefile for the PixArt OST switch driver.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Each configuration option enables a list of files.
|
||||||
|
|
||||||
|
obj-$(CONFIG_INPUT_PIXART_OTS_PAT9125_SWITCH) += pat9125_linux_driver.o pixart_ots.o
|
Loading…
Add table
Reference in a new issue