From: Roman Volkov <rvolkov@v1ros.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Grant Likely <grant.likely@linaro.org>
Cc: Hans de Goede <hdegoede@redhat.com>,
Jiri Kosina <jkosina@suse.cz>, Wolfram Sang <wsa@the-dreams.de>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, Tony Prisk <linux@prisktech.co.nz>,
Roman Volkov <rvolkov@v1ros.org>
Subject: [PATCH v4 2/4] i8042: Kernel configuration for OF/FDT support
Date: Sat, 4 Jul 2015 20:35:42 +0300 [thread overview]
Message-ID: <1436031344-15455-3-git-send-email-rvolkov@v1ros.org> (raw)
In-Reply-To: <1436031344-15455-1-git-send-email-rvolkov@v1ros.org>
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
next prev parent reply other threads:[~2015-07-04 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <342234234esdfewrewrwer@dkoi.org>
2015-07-04 17:35 ` [PATCH v4 0/4] FDT support for i8042 driver Roman Volkov
[not found] ` <1436031344-15455-1-git-send-email-rvolkov-oLhuKTjYqW/YtjvyW6yDsg@public.gmane.org>
2015-07-04 17:35 ` [PATCH v4 1/4] i8042: Add i8042_of.h header Roman Volkov
2015-07-04 17:35 ` Roman Volkov [this message]
2015-07-04 17:35 ` [PATCH v4 3/4] i8042: Add OF/FDT support to the driver Roman Volkov
2015-07-04 17:35 ` [PATCH v4 4/4] Documentation: Add 'intel,8042' FDT bindings Roman Volkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436031344-15455-3-git-send-email-rvolkov@v1ros.org \
--to=rvolkov@v1ros.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=hdegoede@redhat.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@prisktech.co.nz \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).