From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Paul Cercueil <paul@crapouillou.net>
Cc: Rob Herring <robh@kernel.org>,
"Rafael J . Wysocki" <rafael@kernel.org>,
David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
Sam Ravnborg <sam@ravnborg.org>,
list@opendingux.net, linux-kernel@vger.kernel.org,
linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drivers core: Export driver_deferred_probe_check_state()
Date: Thu, 5 Aug 2021 21:34:25 +0200 [thread overview]
Message-ID: <YQw9QVwL6we3dsrS@kroah.com> (raw)
In-Reply-To: <20210805192110.90302-2-paul@crapouillou.net>
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@crapouillou.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
next prev parent reply other threads:[~2021-08-05 19:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 19:21 [PATCH 0/2] gpu/drm: ingenic: Handle disabled drivers Paul Cercueil
2021-08-05 19:21 ` [PATCH 1/2] drivers core: Export driver_deferred_probe_check_state() Paul Cercueil
2021-08-05 19:34 ` Greg Kroah-Hartman [this message]
2021-08-05 19:21 ` [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers Paul Cercueil
2021-08-05 19:35 ` Greg Kroah-Hartman
2021-08-05 20:05 ` Paul Cercueil
2021-08-06 10:17 ` Greg Kroah-Hartman
2021-08-06 11:01 ` Paul Cercueil
2021-08-10 9:35 ` Daniel Vetter
2021-08-10 10:33 ` Paul Cercueil
2021-08-10 10:59 ` Daniel Vetter
2021-08-10 11:58 ` Paul Cercueil
2021-08-10 9:47 ` Greg Kroah-Hartman
2021-08-10 10:40 ` Paul Cercueil
2021-08-10 10:52 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YQw9QVwL6we3dsrS@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=list@opendingux.net \
--cc=paul@crapouillou.net \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox