OSDN Git Service

Staging: quickstart: add the quickstart driver to the build
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 23:25:55 +0000 (16:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 23:25:55 +0000 (16:25 -0700)
This adds the needed Kconfig and Makefile changes to add
the quickstart driver to the build.

Cc: Angelo Arrifano <miknix@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/quickstart/Kconfig [new file with mode: 0644]
drivers/staging/quickstart/Makefile [new file with mode: 0644]

index 72de5fa..6796265 100644 (file)
@@ -155,5 +155,7 @@ source "drivers/staging/solo6x10/Kconfig"
 
 source "drivers/staging/tidspbridge/Kconfig"
 
+source "drivers/staging/quickstart/Kconfig"
+
 endif # !STAGING_EXCLUDE_BUILD
 endif # STAGING
index 952b64e..6cba01e 100644 (file)
@@ -58,3 +58,4 @@ obj-$(CONFIG_MSM_STAGING)     += msm/
 obj-$(CONFIG_EASYCAP)          += easycap/
 obj-$(CONFIG_SOLO6X10)         += solo6x10/
 obj-$(CONFIG_TIDSPBRIDGE)      += tidspbridge/
+obj-$(CONFIG_ACPI_QUICKSTART)  += quickstart/
diff --git a/drivers/staging/quickstart/Kconfig b/drivers/staging/quickstart/Kconfig
new file mode 100644 (file)
index 0000000..659e083
--- /dev/null
@@ -0,0 +1,10 @@
+config ACPI_QUICKSTART
+       tristate "ACPI Quickstart key driver"
+       depends on ACPI
+       help
+         Say Y here if you have a platform that supports the ACPI
+         quickstart key protocol.
+
+         To compile this driver as a module, choose M here: the module will be
+         called quickstart.
+
diff --git a/drivers/staging/quickstart/Makefile b/drivers/staging/quickstart/Makefile
new file mode 100644 (file)
index 0000000..290e0e4
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_ACPI_QUICKSTART)          += quickstart.o