Re: [PATCH] usb: uhci-grlib: Explicitly include linux/platform_device.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 22, 2024 at 09:22:25AM +0100, Andreas Larsson wrote:
> This fixes relying upon linux/of_platform.h to include
> linux/platform_device.h, which it no longer does, thereby fixing
> compilation problems like:
> 
> In file included from drivers/usb/host/uhci-hcd.c:850:
> drivers/usb/host/uhci-grlib.c: In function 'uhci_hcd_grlib_probe':
> drivers/usb/host/uhci-grlib.c:92:29: error: invalid use of undefined type 'struct platform_device'
>    92 |  struct device_node *dn = op->dev.of_node;
>       |                             ^~
> 
> Fixes: 0d18bcdebb2f ("of: Stop circularly including of_device.h and of_platform.h")

I don't see this commit id in Linus's tree, where is it?

thanks,

greg k-h




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux