Reworded while applying: treewide: rename remnants of struct device_d
struct device_d has been renamed to struct device 3 years ago. Rename remnants of struct device_d to device. This was unnoticed so far as we have a #define device_d device in driver.h. Sascha On Wed, Nov 26, 2025 at 11:54:17PM -0500, [email protected] wrote: > From: Chali Anis <[email protected]> > > fix struct device_d to struct device. > > Signed-off-by: Chali Anis <[email protected]> > --- > arch/arm/boards/variscite-som-mx7/board.c | 2 +- > drivers/usb/host/ehci-zynq.c | 2 +- > include/linux/tee_drv.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boards/variscite-som-mx7/board.c > b/arch/arm/boards/variscite-som-mx7/board.c > index 005228d107af..8bce4ec8616d 100644 > --- a/arch/arm/boards/variscite-som-mx7/board.c > +++ b/arch/arm/boards/variscite-som-mx7/board.c > @@ -5,7 +5,7 @@ > #include <deep-probe.h> > #include <mach/imx/bbu.h> > > -static int var_som_mx7_probe(struct device_d *dev) > +static int var_som_mx7_probe(struct device *dev) > { > imx7_bbu_internal_mmcboot_register_handler("eMMC", "/dev/mmc2", > BBU_HANDLER_FLAG_DEFAULT); > return 0; > diff --git a/drivers/usb/host/ehci-zynq.c b/drivers/usb/host/ehci-zynq.c > index 13b551d09156..b4b0e0f89100 100644 > --- a/drivers/usb/host/ehci-zynq.c > +++ b/drivers/usb/host/ehci-zynq.c > @@ -6,7 +6,7 @@ > #include <common.h> > #include <linux/usb/ulpi.h> > > -static int zynq_ehci_probe(struct device_d *dev) > +static int zynq_ehci_probe(struct device *dev) > { > struct resource *res; > void __iomem *base; > diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h > index e2c1042debce..6a8e19459f47 100644 > --- a/include/linux/tee_drv.h > +++ b/include/linux/tee_drv.h > @@ -201,7 +201,7 @@ struct tee_shm { > struct list_head link; > > int fd; > - struct device_d dev; > + struct device dev; > struct cdev cdev; > struct resource res; > }; > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
