[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024090516-battering-prompter-3f53@gregkh>
Date: Thu, 5 Sep 2024 07:19:55 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: hdegoede@...hat.com, ilpo.jarvinen@...ux.intel.com, jorge.lopez2@...com,
acelan.kao@...onical.com, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH 1/2] usb: linux/usb.h: Move USB port definition to usb.h
On Thu, Sep 05, 2024 at 12:24:46PM +0800, Kai-Heng Feng wrote:
> Move struct usb_port to linux/usb.h so other subsystems can use it too.
These really are "internal to the usb core" functions and variables, I
am loath to export them as it requires that you "know" what the device
type is of something without any recorse if you get it wrong. I
commented on patch 2/2 about that.
Could we provide a usb core function for you instead to help out? What
exactly are you trying to get access to on the USB bus that you need to
use here, the port or the device?
thanks,
greg k-h
Powered by blists - more mailing lists