Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1176917

[PATCH v4 2/4] i8042: Kernel configuration for OF/FDT support

From Roman Volkov <rvolkov@v1ros.org>
Newsgroups linux.kernel
Subject [PATCH v4 2/4] i8042: Kernel configuration for OF/FDT support
Date 2015-07-05 11:10 +0200
Message-ID <pIO5Z-W8-25@gated-at.bofh.it> (permalink)
References <pIO5X-W8-3@gated-at.bofh.it> <pIO5X-W8-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


i8042_of.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and
CONFIG_USE_OF are selected. Kconfig is not modified.

Signed-off-by: Roman Volkov <rvolkov@v1ros.org>
---
 drivers/input/serio/i8042.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h
index fc080be..55fc856 100644
--- a/drivers/input/serio/i8042.h
+++ b/drivers/input/serio/i8042.h
@@ -28,6 +28,9 @@
 #include "i8042-x86ia64io.h"
 #elif defined(CONFIG_UNICORE32)
 #include "i8042-unicore32io.h"
+#elif defined(CONFIG_ARCH_MIGHT_HAVE_PC_SERIO) && defined(CONFIG_USE_OF)
+#define SERIO_I8042_OF
+#include "i8042-of.h"
 #else
 #include "i8042-io.h"
 #endif
-- 
2.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/4] FDT support for i8042 driver Roman Volkov <rvolkov@v1ros.org> - 2015-07-05 11:10 +0200
  [PATCH v4 4/4] Documentation: Add 'intel,8042' FDT bindings Roman Volkov <rvolkov@v1ros.org> - 2015-07-05 11:10 +0200
  [PATCH v4 1/4] i8042: Add i8042_of.h header Roman Volkov <rvolkov@v1ros.org> - 2015-07-05 11:10 +0200
  [PATCH v4 2/4] i8042: Kernel configuration for OF/FDT support Roman Volkov <rvolkov@v1ros.org> - 2015-07-05 11:10 +0200

csiph-web