|
@@ -945,8 +945,7 @@ void nvmem_cell_put(struct nvmem_cell *cell)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(nvmem_cell_put);
|
|
|
|
|
|
-static inline void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell,
|
|
|
- void *buf)
|
|
|
+static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf)
|
|
|
{
|
|
|
u8 *p, *b;
|
|
|
int i, bit_offset = cell->bit_offset;
|
|
@@ -1027,8 +1026,8 @@ void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(nvmem_cell_read);
|
|
|
|
|
|
-static inline void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell,
|
|
|
- u8 *_buf, int len)
|
|
|
+static void *nvmem_cell_prepare_write_buffer(struct nvmem_cell *cell,
|
|
|
+ u8 *_buf, int len)
|
|
|
{
|
|
|
struct nvmem_device *nvmem = cell->nvmem;
|
|
|
int i, rc, nbits, bit_offset = cell->bit_offset;
|