From patchwork Fri Sep 27 11:52:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2954271 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CE8409F289 for ; Fri, 27 Sep 2013 11:52:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAC8620348 for ; Fri, 27 Sep 2013 11:52:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EA9DB2035F for ; Fri, 27 Sep 2013 11:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751134Ab3I0LwZ (ORCPT ); Fri, 27 Sep 2013 07:52:25 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:54041 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049Ab3I0LwY (ORCPT ); Fri, 27 Sep 2013 07:52:24 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so2474592pbb.33 for ; Fri, 27 Sep 2013 04:52:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wOzIGaFK3uKUZxIyFVl6zhk1wVfLiuJjrKjOLx6jUtE=; b=avq4jdrNMmkUThRh50UeT+PV9m7As1qRUq2xYyzcmevSMrpNTy2Qncdtf7ydeOk0ur Ev1yH08ky44HJvUzTiSR30QKea4FOcKPpeLZlKnHS8R/IR9sS+hiCNSQIfAzXuSl+JP3 MpkTAgmCkUITTXpkyruxcGenJK/ebw1MlMnORR3PD1yU6m7jIPtH3WEif/sns9oeIrtE diS31tcqpBvyB8XWLjKJkIROSJwdST6qU/V02+hFjKQ+3waJL9I43FpMpVXdJw7BPS0G RGvmxtU5ZYqOUJ+Yq6LJNNf5d8Puw0BfrlWbcu6l/riQOustI32zlGzoi4qxXfu70Z4B m4Aw== X-Gm-Message-State: ALoCoQnTdcYbIJ9bQzGd+hY67CUG8BOELvdxNvFUobUDtOvGIXgjJq+bo51Imf/xD39XInuI0Kvi X-Received: by 10.68.190.197 with SMTP id gs5mr6884396pbc.90.1380282743784; Fri, 27 Sep 2013 04:52:23 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id xe9sm12077127pab.0.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Sep 2013 04:52:23 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org Subject: [PATCH 5/7] Input: rotary_encoder - Include linux/of.h header Date: Fri, 27 Sep 2013 17:22:07 +0530 Message-Id: <1380282729-26669-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380282729-26669-1-git-send-email-sachin.kamat@linaro.org> References: <1380282729-26669-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'of_match_ptr' is defined in linux/of.h. Include it explicitly. Signed-off-by: Sachin Kamat --- drivers/input/misc/rotary_encoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 5b1aff8..f920ba7 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include