Skip to contentSkip to conversation

mmc-utils: remove obsolete do_write_extcsd function declaration

PATCH New Leon Romanovsky 1 participant 3 messages Apr 22, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc-utils: remove obsolete do_write_extcsd function declaration

The do_write_extcsd() function was removed from the C-file in commit"b9c7a17 Rename extcsd read/write to writeprotect get/set".

This patch removes this function definition from H-file too.

---
 mmc_cmds.h |    1 -
 1 file changed, 1 deletion(-)
mmc_cmds.h +0 -1
index 9e625c9..7a79e87 100644
@@ -16,7 +16,6 @@
 
 /* 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);
 int do_disable_512B_emulation(int nargs, char **argv);
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 1/1 mmc-utils: delete dependency files after make clean invocation

In reply to Leon Romanovsky

Make clean didn't remove dependency files (.*.o.d) which were generated by GCC. This change deletes these files in all sub folders.

---
 Makefile |    1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 0533be3..bef6c82 100644
@@ -45,6 +45,7 @@ install-man:
 
 clean:
 	rm -f $(progs) $(objects)
+	find . -name .\*.o.d -type f -delete
 	$(MAKE) -C man clean
 
 install: $(progs) install-man
Signature · 1 line
1.7.9.5