aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ina230.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/ina230.h')
-rw-r--r--include/linux/platform_data/ina230.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/linux/platform_data/ina230.h b/include/linux/platform_data/ina230.h
new file mode 100644
index 00000000000..fb1ac28ff62
--- /dev/null
+++ b/include/linux/platform_data/ina230.h
@@ -0,0 +1,32 @@
1/*
2 * include/linux/platform_data/ina230.h
3 *
4 * Copyright (c) 2011, NVIDIA Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20#ifndef _INA230_H
21#define _INA230_H
22
23#include <linux/types.h>
24
25struct ina230_platform_data {
26 const char *rail_name;
27 s32 current_threshold;
28 s32 resistor;
29 s32 min_cores_online;
30};
31
32#endif /* _INA230_H */