[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQw9QVwL6we3dsrS@kroah.com>
Date: Thu, 5 Aug 2021 21:34:25 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Paul Cercueil <paul@...pouillou.net>
Cc: Rob Herring <robh@...nel.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Sam Ravnborg <sam@...nborg.org>, list@...ndingux.net,
linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH 1/2] drivers core: Export
driver_deferred_probe_check_state()
On Thu, Aug 05, 2021 at 09:21:08PM +0200, Paul Cercueil wrote:
> Export this function as a GPL symbol, so that it can be used from
> modules.
>
> Signed-off-by: Paul Cercueil <paul@...pouillou.net>
> ---
> drivers/base/dd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/base/dd.c b/drivers/base/dd.c
> index daeb9b5763ae..658f1527a58b 100644
> --- a/drivers/base/dd.c
> +++ b/drivers/base/dd.c
> @@ -296,6 +296,7 @@ int driver_deferred_probe_check_state(struct device *dev)
>
> return -EPROBE_DEFER;
> }
> +EXPORT_SYMBOL_GPL(driver_deferred_probe_check_state);
Drivers should never need to mess with this, it is for only a small set
of busses to use only.
Why do you think this is needed by a driver?
thanks,
greg k-h
Powered by blists - more mailing lists