9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2012-01-10 15:34:19 +08:00
parent 971d164f62
commit c40f026947
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ struct device_d {
struct driver_d {
/*! The name of this driver. Used to match to
* the corresponding device. */
char name[MAX_DRIVER_NAME];
const char *name;
struct list_head list;

View File

@ -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 *);