24 lines
630 B
C
24 lines
630 B
C
|
/*
|
||
|
* nvmem framework consumer.
|
||
|
*
|
||
|
* Copyright (C) 2015 Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||
|
* Copyright (C) 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
|
||
|
*
|
||
|
* This file is licensed under the terms of the GNU General Public
|
||
|
* License version 2. This program is licensed "as is" without any
|
||
|
* warranty of any kind, whether express or implied.
|
||
|
*/
|
||
|
|
||
|
#ifndef _LINUX_NVMEM_CONSUMER_H
|
||
|
#define _LINUX_NVMEM_CONSUMER_H
|
||
|
|
||
|
struct nvmem_cell_info {
|
||
|
const char *name;
|
||
|
unsigned int offset;
|
||
|
unsigned int bytes;
|
||
|
unsigned int bit_offset;
|
||
|
unsigned int nbits;
|
||
|
};
|
||
|
|
||
|
#endif /* ifndef _LINUX_NVMEM_CONSUMER_H */
|