Commit 78c0f050 authored by Stephen Boyd's avatar Stephen Boyd Committed by Rafael J. Wysocki

PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}()

These functions are just used by the PM core, and that isn't modular so
these functions don't need to be exported. Drop the exports.

Fixes: c8377adf ("PM / wakeup: Show wakeup sources stats in sysfs")
Reviewed-by: default avatarTri Vo <trong@android.com>
Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 2ca3d1ec
...@@ -182,7 +182,6 @@ int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) ...@@ -182,7 +182,6 @@ int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(wakeup_source_sysfs_add);
/** /**
* pm_wakeup_source_sysfs_add - Add wakeup_source attributes to sysfs * pm_wakeup_source_sysfs_add - Add wakeup_source attributes to sysfs
...@@ -205,7 +204,6 @@ void wakeup_source_sysfs_remove(struct wakeup_source *ws) ...@@ -205,7 +204,6 @@ void wakeup_source_sysfs_remove(struct wakeup_source *ws)
{ {
device_unregister(ws->dev); device_unregister(ws->dev);
} }
EXPORT_SYMBOL_GPL(wakeup_source_sysfs_remove);
static int __init wakeup_sources_sysfs_init(void) static int __init wakeup_sources_sysfs_init(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment