From patchwork Thu Dec 20 13:51:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1899831 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 17B0F40ABA for ; Thu, 20 Dec 2012 13:51:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752290Ab2LTNvc (ORCPT ); Thu, 20 Dec 2012 08:51:32 -0500 Received: from metis.ext.pengutronix.de ([92.198.50.35]:50893 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752704Ab2LTNv3 (ORCPT ); Thu, 20 Dec 2012 08:51:29 -0500 Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TlgX1-0003gv-Nj; Thu, 20 Dec 2012 14:51:27 +0100 Received: from wsa by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1TlgX0-0004ta-1Y; Thu, 20 Dec 2012 14:51:26 +0100 From: Wolfram Sang To: linux-input@vger.kernel.org Cc: Michael Hennerich , Dmitry Torokhov , device-drivers-devel@blackfin.uclinux.org, Wolfram Sang Subject: [PATCH 3/4] input: adxl34x: make platform_data include self contained Date: Thu, 20 Dec 2012 14:51:10 +0100 Message-Id: <1356011471-18757-4-git-send-email-w.sang@pengutronix.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1356011471-18757-1-git-send-email-w.sang@pengutronix.de> References: <1356011471-18757-1-git-send-email-w.sang@pengutronix.de> X-SA-Exim-Connect-IP: 2001:6f8:1178:2:21e:67ff:fe11:9c5c X-SA-Exim-Mail-From: w.sang@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-input@vger.kernel.org Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Since it suggests to use defines from input.h (ABS_X, ...), also include the file to make them available. Signed-off-by: Wolfram Sang --- include/linux/input/adxl34x.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/input/adxl34x.h b/include/linux/input/adxl34x.h index 57e01a7..010d981 100644 --- a/include/linux/input/adxl34x.h +++ b/include/linux/input/adxl34x.h @@ -13,6 +13,8 @@ #ifndef __LINUX_INPUT_ADXL34X_H__ #define __LINUX_INPUT_ADXL34X_H__ +#include + struct adxl34x_platform_data { /*