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:
parent
971d164f62
commit
c40f026947
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 *);
|
||||
|
||||
|
|
Loading…
Reference in New Issue