diff options
| author | Pantelis Antoniou <[email protected]> | 2014-03-10 20:05:51 +0200 |
|---|---|---|
| committer | Pantelis Antoniou <[email protected]> | 2014-03-24 11:32:10 +0200 |
| commit | 22cb7d334e296288e53057467dfee26858275516 (patch) | |
| tree | c8a1348c5f490f8cc5c88e601fd89f336ae85475 /include | |
| parent | ab769f227f79bedae7840f99b6c0c4d66aafc78e (diff) | |
mmc: Convert mmc struct's name array to a pointer
Using an array is pointless; even more pointless (and scary) is using
sprintf to fill it without a format string.
Signed-off-by: Pantelis Antoniou <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/mmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h index 3d53ce113cf..6b08c62a51d 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -264,7 +264,7 @@ struct mmc_ops { struct mmc { struct list_head link; - char name[32]; + const char *name; /* no need for this to be an array */ void *priv; uint voltages; uint version; |
