Skip to content

Commit 176eb8d

Browse files
Wolfram Sangdtor
authored andcommitted
Input: adxl34x - make platform_data include self contained
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>
1 parent 1fae031 commit 176eb8d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/input/adxl34x.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef __LINUX_INPUT_ADXL34X_H__
1414
#define __LINUX_INPUT_ADXL34X_H__
1515

16+
#include <linux/input.h>
17+
1618
struct adxl34x_platform_data {
1719

1820
/*

0 commit comments

Comments
 (0)