diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-01 13:31:53 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-01 13:31:53 -0500 |
| commit | 04421fe2671c1790ab6529fad87ce8c73af0e1eb (patch) | |
| tree | d2f803b4eef6108648f1beee6bf97a342cd9bc73 /drivers/input/misc | |
| parent | 7fb45edba8b5206e645572a682c946f67375447e (diff) | |
| parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) | |
Merge tag 'v3.14-rc4' into next
Merge with Linux 3.14-rc4 to bring devm_request_any_context_irq().
Diffstat (limited to 'drivers/input/misc')
| -rw-r--r-- | drivers/input/misc/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/input/misc/atlas_btns.c | 2 | ||||
| -rw-r--r-- | drivers/input/misc/xen-kbdfront.c | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index 4ffc39732513..7904ab05527a 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig | |||
| @@ -168,7 +168,7 @@ config INPUT_MAX8997_HAPTIC | |||
| 168 | 168 | ||
| 169 | config INPUT_MC13783_PWRBUTTON | 169 | config INPUT_MC13783_PWRBUTTON |
| 170 | tristate "MC13783 ON buttons" | 170 | tristate "MC13783 ON buttons" |
| 171 | depends on MFD_MC13783 | 171 | depends on MFD_MC13XXX |
| 172 | help | 172 | help |
| 173 | Support the ON buttons of MC13783 PMIC as an input device | 173 | Support the ON buttons of MC13783 PMIC as an input device |
| 174 | reporting power button status. | 174 | reporting power button status. |
diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c index c0c5b63af90a..638165c78e75 100644 --- a/drivers/input/misc/atlas_btns.c +++ b/drivers/input/misc/atlas_btns.c | |||
| @@ -27,8 +27,8 @@ | |||
| 27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
| 28 | #include <linux/input.h> | 28 | #include <linux/input.h> |
| 29 | #include <linux/types.h> | 29 | #include <linux/types.h> |
| 30 | #include <linux/acpi.h> | ||
| 30 | #include <asm/uaccess.h> | 31 | #include <asm/uaccess.h> |
| 31 | #include <acpi/acpi_drivers.h> | ||
| 32 | 32 | ||
| 33 | #define ACPI_ATLAS_NAME "Atlas ACPI" | 33 | #define ACPI_ATLAS_NAME "Atlas ACPI" |
| 34 | #define ACPI_ATLAS_CLASS "Atlas" | 34 | #define ACPI_ATLAS_CLASS "Atlas" |
diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c index e21c1816a8f9..fbfdc10573be 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include <xen/interface/io/fbif.h> | 29 | #include <xen/interface/io/fbif.h> |
| 30 | #include <xen/interface/io/kbdif.h> | 30 | #include <xen/interface/io/kbdif.h> |
| 31 | #include <xen/xenbus.h> | 31 | #include <xen/xenbus.h> |
| 32 | #include <xen/platform_pci.h> | ||
| 32 | 33 | ||
| 33 | struct xenkbd_info { | 34 | struct xenkbd_info { |
| 34 | struct input_dev *kbd; | 35 | struct input_dev *kbd; |
| @@ -380,6 +381,9 @@ static int __init xenkbd_init(void) | |||
| 380 | if (xen_initial_domain()) | 381 | if (xen_initial_domain()) |
| 381 | return -ENODEV; | 382 | return -ENODEV; |
| 382 | 383 | ||
| 384 | if (!xen_has_pv_devices()) | ||
| 385 | return -ENODEV; | ||
| 386 | |||
| 383 | return xenbus_register_frontend(&xenkbd_driver); | 387 | return xenbus_register_frontend(&xenkbd_driver); |
| 384 | } | 388 | } |
| 385 | 389 | ||
