.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * KXCJK-1013 3-axis accelerometer Interface |
---|
3 | 4 | * Copyright (c) 2014, Intel Corporation. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms and conditions of the GNU General Public License, |
---|
7 | | - * version 2, as published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
12 | | - * more details. |
---|
13 | 5 | */ |
---|
14 | 6 | |
---|
15 | 7 | #ifndef __IIO_KXCJK_1013_H__ |
---|
16 | 8 | #define __IIO_KXCJK_1013_H__ |
---|
17 | 9 | |
---|
| 10 | +#include <linux/iio/iio.h> |
---|
| 11 | + |
---|
18 | 12 | struct kxcjk_1013_platform_data { |
---|
19 | 13 | bool active_high_intr; |
---|
| 14 | + struct iio_mount_matrix orientation; |
---|
20 | 15 | }; |
---|
21 | 16 | |
---|
22 | 17 | #endif |
---|