[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c3b175d2031b8e440bfdef9b4c23c0272a5f607.camel@nvidia.com>
Date: Fri, 28 Oct 2022 05:36:41 +0000
From: Jim Lin <jilin@...dia.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: Jonathan Hunter <jonathanh@...dia.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Jim Lin <jilin@...dia.com>,
"thierry.reding@...il.com" <thierry.reding@...il.com>,
"mathias.nyman@...el.com" <mathias.nyman@...el.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>
Subject: Re: [PATCH v5 1/3] xhci: hub: export symbol on xhci_hub_control
On Thu, 2022-10-27 at 15:58 +0200, Greg KH wrote:
> External email: Use caution opening links or attachments
>
>
> On Thu, Oct 27, 2022 at 09:31:25PM +0800, Jim Lin wrote:
> > Add EXPORT_SYMBOL_GPL on xhci_hub_control() for other driver module
> > to invoke and avoid linking error.
>
> What other driver module?
>
> There is no user here :(
>
> confused,
>
In arch/arm/configs/multi_v7_defconfig
It defines
CONFIG_USB_XHCI_TEGRA=m
If I don't add EXPORT_SYMBOL_GPL on xhci_hub_control()
, I will get compile/linking error like
ERROR: modpost: "xhci_hub_control" [drivers/usb/host/xhci-tegra.ko]
undefined!
if patch
"[PATCH v5,3/3] xhci: tegra: USB2 pad power controls"
https://patchwork.kernel.org/project/linux-usb/patch/20221027133127.27592-4-jilin@nvidia.com/
is added in xhci-tegra.c to invoke xhci_hub_control()
Should I integrate this patch with [PATCH v5,3/3] as one?
--nvpublic
Powered by blists - more mailing lists