Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
ANDROID: driver: gpu: drm: fix export symbol types
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I54dbc1f4d41739ab19040563966a6505897734fb
  • Loading branch information
gregkh authored and reocat committed Jan 12, 2024
1 parent b3db140 commit 9fb46f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/drm_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>");
MODULE_DESCRIPTION("DRM panel infrastructure");
Expand Down

0 comments on commit 9fb46f3

Please sign in to comment.