Merge "devfreq: bwmon: Export symbols"

This commit is contained in:
qctecmdr 2020-01-16 07:50:03 -08:00 • committed by Gerrit - the friendly Code Review server
commit 76fbbd8b26
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2013-2018, 2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved.
*/
#define pr_fmt(fmt) "bw-hwmon: " fmt
@ -275,6 +275,7 @@ int bw_hwmon_sample_end(struct bw_hwmon *hwmon)
return wake;
}
EXPORT_SYMBOL(bw_hwmon_sample_end);
static unsigned long to_mbps_zone(struct hwmon_node *node, unsigned long mbps)
{
@ -514,6 +515,7 @@ int update_bw_hwmon(struct bw_hwmon *hwmon)
return 0;
}
EXPORT_SYMBOL(update_bw_hwmon);
static int start_monitor(struct devfreq *df, bool init)
{
@ -966,6 +968,7 @@ int register_bw_hwmon(struct device *dev, struct bw_hwmon *hwmon)
return ret;
}
EXPORT_SYMBOL(register_bw_hwmon);
MODULE_DESCRIPTION("HW monitor based dev DDR bandwidth voting driver");
MODULE_LICENSE("GPL v2");

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
*/
#define pr_fmt(fmt) "mem_lat: " fmt
@ -535,6 +535,7 @@ out:
return ret;
}
EXPORT_SYMBOL(register_compute);
int register_memlat(struct device *dev, struct memlat_hwmon *hw)
{
@ -565,6 +566,7 @@ out:
return ret;
}
EXPORT_SYMBOL(register_memlat);
MODULE_DESCRIPTION("HW monitor based dev DDR bandwidth voting driver");
MODULE_LICENSE("GPL v2");