diff options
Diffstat (limited to 'include/linux/nvmem-consumer.h')
-rw-r--r-- | include/linux/nvmem-consumer.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h new file mode 100644 index 000000000000..1e9e7678a501 --- /dev/null +++ b/include/linux/nvmem-consumer.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * nvmem framework consumer. | ||
3 | * | ||
4 | * Copyright (C) 2015 Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | ||
5 | * Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com> | ||
6 | * | ||
7 | * This file is licensed under the terms of the GNU General Public | ||
8 | * License version 2. This program is licensed "as is" without any | ||
9 | * warranty of any kind, whether express or implied. | ||
10 | */ | ||
11 | |||
12 | #ifndef _LINUX_NVMEM_CONSUMER_H | ||
13 | #define _LINUX_NVMEM_CONSUMER_H | ||
14 | |||
15 | struct nvmem_cell_info { | ||
16 | const char *name; | ||
17 | unsigned int offset; | ||
18 | unsigned int bytes; | ||
19 | unsigned int bit_offset; | ||
20 | unsigned int nbits; | ||
21 | }; | ||
22 | |||
23 | #endif /* ifndef _LINUX_NVMEM_CONSUMER_H */ | ||