diff options
author | Chris Ball <cjb@laptop.org> | 2012-02-20 12:34:25 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-02-20 12:34:25 -0500 |
commit | b9c7a17fce190f085bb4eb6e6535a22e2c69de68 (patch) | |
tree | 2f3860e87529b9e51e01caa6aeccee36996ce952 /mmc_cmds.h | |
parent | a5bf4a2030a9dcfbcebf1b647e65c1e936a56e14 (diff) | |
download | mmc-utils-b9c7a17fce190f085bb4eb6e6535a22e2c69de68.tar.gz |
Rename extcsd read/write to writeprotect get/set
This leaves "extcsd read" pointing to Giuseppe's code. Also, abstract
out the writeprotect code so that there's only one shared implementation
in print_writeprotect_status(), used by both "extcsd read" and
"writeprotect get".
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'mmc_cmds.h')
-rw-r--r-- | mmc_cmds.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,3 +17,5 @@ /* mmc_cmds.c */ int do_read_extcsd(int nargs, char **argv); int do_write_extcsd(int nargs, char **argv); +int do_writeprotect_get(int nargs, char **argv); +int do_writeprotect_set(int nargs, char **argv); |