Skip to content

Commit

Permalink
Input: adxl34x - make platform_data include self contained
Browse files Browse the repository at this point in the history
Since it suggests to use defines from input.h (ABS_X, ...), also include
the file to make them available.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Wolfram Sang authored and Dmitry Torokhov committed Dec 24, 2012
1 parent 1fae031 commit 176eb8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/input/adxl34x.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#ifndef __LINUX_INPUT_ADXL34X_H__
#define __LINUX_INPUT_ADXL34X_H__

#include <linux/input.h>

struct adxl34x_platform_data {

/*
Expand Down

0 comments on commit 176eb8d

Please sign in to comment.