summaryrefslogtreecommitdiffstats
path: root/include/usb
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-12-14 13:35:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-10 15:43:47 +0100
commitf662623968e17a5044ba546fd1834ceb40241e48 (patch)
tree8a6713d72b8036a8791faca546cb1a5455401b27 /include/usb
parentc0afc799fb9a19a11f651596fe23b4b755593887 (diff)
downloadbarebox-f662623968e17a5044ba546fd1834ceb40241e48.tar.gz
barebox-f662623968e17a5044ba546fd1834ceb40241e48.tar.xz
Rename struct driver_d to driver
The '_d' suffix was originally meant to distinguish barebox struct names from Linux struct names. struct driver doesn't exist in Linux, so we can rename it and remove the meaningless suffix. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.barebox.org/20221214123512.189688-4-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/gadget.h2
-rw-r--r--include/usb/usb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/usb/gadget.h b/include/usb/gadget.h
index 296b2b7481..830e3dfe83 100644
--- a/include/usb/gadget.h
+++ b/include/usb/gadget.h
@@ -881,7 +881,7 @@ struct usb_gadget_driver {
void (*resume)(struct usb_gadget *);
/* FIXME support safe rmmod */
- struct driver_d driver;
+ struct driver driver;
};
diff --git a/include/usb/usb.h b/include/usb/usb.h
index 47d3c0fb6a..9b36122436 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -137,7 +137,7 @@ struct usb_driver {
const struct usb_device_id *id_table;
- struct driver_d driver;
+ struct driver driver;
};
extern struct bus_type usb_bus_type;