commit | 5700bb63522c2af9276f25a15448b61f19d72841 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Jul 27 18:35:08 2010 -0400 |
committer | Ben Warren <biggerbadderben@gmail.com> | Mon Aug 09 11:52:29 2010 -0700 |
tree | 61d112f470573e55e8dc32cd02eec52d14020b7c | |
parent | 78b7a8ef8b37582a37a5c2381191061380b42831 [diff] [blame] |
miiphy: constify device name The driver name does not need to be writable, so constify it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
diff --git a/common/cmd_mii.c b/common/cmd_mii.c index bb94186..3ea493b 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c
@@ -299,7 +299,7 @@ unsigned char addr, reg; unsigned short data; int rcode = 0; - char *devname; + const char *devname; if (argc < 2) return cmd_usage(cmdtp);