Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33ed58ae authored by Jordan Crouse's avatar Jordan Crouse
Browse files

devfreq: bwmon: Export symbols



Export symbols to fix the following modpost errors:

  ERROR: "bw_hwmon_sample_end" [drivers/devfreq/bimc-bwmon.ko] undefined!
  ERROR: "register_bw_hwmon" [drivers/devfreq/bimc-bwmon.ko] undefined!
  ERROR: "update_bw_hwmon" [drivers/devfreq/bimc-bwmon.ko] undefined!

Change-Id: Ic0dedbad2f49e98b415a2ded471b2c35b97157a8
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 075f8c3d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
// 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");