summaryrefslogtreecommitdiffstats
path: root/commands
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 /commands
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 'commands')
-rw-r--r--commands/drvinfo.c2
-rw-r--r--commands/mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/drvinfo.c b/commands/drvinfo.c
index 4961f4c7dd..b984b94725 100644
--- a/commands/drvinfo.c
+++ b/commands/drvinfo.c
@@ -8,7 +8,7 @@
static int do_drvinfo(int argc, char *argv[])
{
- struct driver_d *drv;
+ struct driver *drv;
struct device *dev;
printf("Driver\tDevice(s)\n");
diff --git a/commands/mount.c b/commands/mount.c
index ff1d8bc5e5..966807a1f4 100644
--- a/commands/mount.c
+++ b/commands/mount.c
@@ -13,7 +13,7 @@
static int do_mount(int argc, char *argv[])
{
int opt, verbose = 0;
- struct driver_d *drv;
+ struct driver *drv;
const char *type = NULL;
const char *mountpoint, *devstr;
const char *fsoptions = NULL;