ANDROID: driver: gpu: drm: fix export symbol types

In commit 310dd4fe8350 ("ANDROID: driver: gpu: drm: add notifier for
panel related events") a number of new symbols were exported, but they
should have been set as a _GPL symbol.

Fix this up by properly changing the export types.

Bug: 139653858
Cc: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I54dbc1f4d41739ab19040563966a6505897734fb
This commit is contained in:
Greg Kroah-Hartman 2020-04-30 12:17:18 +02:00
parent 23417bf195
commit 7743d4575f

View file

@ -175,21 +175,21 @@ int drm_panel_notifier_register(struct drm_panel *panel,
{
return blocking_notifier_chain_register(&panel->nh, nb);
}
EXPORT_SYMBOL(drm_panel_notifier_register);
EXPORT_SYMBOL_GPL(drm_panel_notifier_register);
int drm_panel_notifier_unregister(struct drm_panel *panel,
struct notifier_block *nb)
{
return blocking_notifier_chain_unregister(&panel->nh, nb);
}
EXPORT_SYMBOL(drm_panel_notifier_unregister);
EXPORT_SYMBOL_GPL(drm_panel_notifier_unregister);
int drm_panel_notifier_call_chain(struct drm_panel *panel,
unsigned long val, void *v)
{
return blocking_notifier_call_chain(&panel->nh, val, v);
}
EXPORT_SYMBOL(drm_panel_notifier_call_chain);
EXPORT_SYMBOL_GPL(drm_panel_notifier_call_chain);
MODULE_AUTHOR("Thierry Reding <treding@nvidia.com>");
MODULE_DESCRIPTION("DRM panel infrastructure");