diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-11-07 01:14:04 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2011-11-22 08:39:26 +0100 |
commit | 91494ca6a04e9e8d66b88053f1f600ed5c2fa1e1 (patch) | |
tree | 692c733e7eb35c59b6bca4b2487136b38c1225a2 /common/env_embedded.c | |
parent | b919ec25e77afc05d91f9a7fec747de53de83fa3 (diff) |
env: clean env_nvram.c checkpatch and code style
Cleanup the env_nvram.c checkpatch warnings, errors and coding style.
There are 2 wanring left about the extern used in c file:
WARNING: externs should be avoided in .c files
#53: FILE: env_nvram.c:53:
+extern void *nvram_read(void *dest, const long src, size_t count);
WARNING: externs should be avoided in .c files
#54: FILE: env_nvram.c:54:
+extern void nvram_write(long dest, const void *src, size_t count);
total: 0 errors, 2 warnings, 138 lines checked
There is no common nvram header file to use instead of the externs.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'common/env_embedded.c')
0 files changed, 0 insertions, 0 deletions