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

Commit 075f8c3d authored by Jordan Crouse's avatar Jordan Crouse
Browse files

PM / devfreq: memlat: Export symbols



Fix the following modpost errors:

  ERROR: "register_memlat" [drivers/devfreq/arm-memlat-mon.ko] undefined!
  ERROR: "register_compute" [drivers/devfreq/arm-memlat-mon.ko] undefined!

Change-Id: Ic0dedbadbcf146483ec6810e11b8a2e82e399ebd
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent ea2e374e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// 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 @@ int register_compute(struct device *dev, struct memlat_hwmon *hw)

	return ret;
}
EXPORT_SYMBOL(register_compute);

int register_memlat(struct device *dev, struct memlat_hwmon *hw)
{
@@ -565,6 +566,7 @@ int register_memlat(struct device *dev, struct memlat_hwmon *hw)

	return ret;
}
EXPORT_SYMBOL(register_memlat);

MODULE_DESCRIPTION("HW monitor based dev DDR bandwidth voting driver");
MODULE_LICENSE("GPL v2");