[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6b66bed-10f1-421a-a561-3e07dcbd6781@gaisler.com>
Date: Mon, 29 Jan 2024 08:41:50 +0100
From: Andreas Larsson <andreas@...sler.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Alan Stern <stern@...land.harvard.edu>, linux-usb@...r.kernel.org,
Rob Herring <robh@...nel.org>, linux-kernel@...r.kernel.org,
software@...sler.com
Subject: Re: [PATCH] usb: uhci-grlib: Explicitly include
linux/platform_device.h
On 2024-01-28 01:31, Greg Kroah-Hartman wrote:
> 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?
Ah, sorry, it went into Linus's tree with a different commit ID. I
should have referred to ef175b29a242.
Cheers,
Andreas
Powered by blists - more mailing lists