Srinivas Kandagatla | eace75c | 2015-07-27 12:13:19 +0100 | [diff] [blame^] | 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 */ |