mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
soc: rockchip: system-monitor: Add support to be built as module
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: If59392732efe0dc1cb20e49115a1a1f65854bd7a
This commit is contained in:
@@ -91,7 +91,7 @@ config ROCKCHIP_SUSPEND_MODE
|
||||
Say Y here if you want to set the suspend mode to the ATF.
|
||||
|
||||
config ROCKCHIP_SYSTEM_MONITOR
|
||||
bool "Rockchip system monitor support"
|
||||
tristate "Rockchip system monitor support"
|
||||
default y
|
||||
help
|
||||
Say y here to enable rockchip system monitor support.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef __SOC_ROCKCHIP_SYSTEM_STATUS_H
|
||||
#define __SOC_ROCKCHIP_SYSTEM_STATUS_H
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_SYSTEM_MONITOR
|
||||
#if IS_ENABLED(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
|
||||
int rockchip_register_system_status_notifier(struct notifier_block *nb);
|
||||
int rockchip_unregister_system_status_notifier(struct notifier_block *nb);
|
||||
void rockchip_set_system_status(unsigned long status);
|
||||
|
||||
@@ -113,7 +113,7 @@ struct monitor_dev_profile {
|
||||
struct cpumask allowed_cpus;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_SYSTEM_MONITOR
|
||||
#if IS_ENABLED(CONFIG_ROCKCHIP_SYSTEM_MONITOR)
|
||||
struct monitor_dev_info *
|
||||
rockchip_system_monitor_register(struct device *dev,
|
||||
struct monitor_dev_profile *devp);
|
||||
|
||||
Reference in New Issue
Block a user