Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932160AbbBOVOS (ORCPT ); Sun, 15 Feb 2015 16:14:18 -0500 Received: from v1ros.org ([109.234.34.72]:39795 "EHLO smtp.v1ros.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724AbbBOVOI (ORCPT ); Sun, 15 Feb 2015 16:14:08 -0500 From: Roman Volkov To: Dmitry Torokhov , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely Cc: Hans de Goede , Jiri Kosina , Wolfram Sang , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Roman Volkov Subject: [PATCH v3 2/5] i8042: Kernel configuration handling for DT support Date: Mon, 16 Feb 2015 00:11:44 +0300 Message-Id: <1424034707-15723-3-git-send-email-v1ron@v1ros.org> X-Mailer: git-send-email 2.3.0 In-Reply-To: <1424034707-15723-1-git-send-email-v1ron@v1ros.org> References: <1423857173-16432-6-git-send-email-v1ron@v1ros.org> <1424034707-15723-1-git-send-email-v1ron@v1ros.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 996 Lines: 31 i8042_dt.h should be included when CONFIG_ARCH_MIGHT_HAVE_PC_SERIO and CONFIG_USE_OF are selected. It should be not necessary to create additional options in the kernel config. Signed-off-by: Roman Volkov --- 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..d2c1761 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_DT +#include "i8042-dt.h" #else #include "i8042-io.h" #endif -- 2.3.0 -- 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/