diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-01-10 15:34:19 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-01-11 21:22:34 +0800 |
commit | c40f026947d72edadacb28aa400bfe5bc473f20c (patch) | |
tree | 1a0c1235c12493941bf7932c191005284fa71ee0 /include/usb/usb.h | |
parent | 971d164f626f586ac80636fec25e7fbdbf49f695 (diff) | |
download | barebox-c40f026947d72edadacb28aa400bfe5bc473f20c.tar.gz barebox-c40f026947d72edadacb28aa400bfe5bc473f20c.tar.xz |
driver: switch driver_d name to const char*
this will allow to save 200 bytes on a9g20 and 180 bytes on ti xlaoder
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/usb/usb.h')
-rw-r--r-- | include/usb/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb/usb.h b/include/usb/usb.h index 08fd1a1185..a61a00865e 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -187,7 +187,7 @@ struct usb_device { struct usb_device_id; struct usb_driver { - char *name; + const char *name; int (*probe) (struct usb_device *, const struct usb_device_id *); void (*disconnect)(struct usb_device *); |