mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
82c658e68b
PD#SWPL-68630 Problem: porting thermal driver Solution: 1. porting thermal driver 2. modify the function type of the member of struct thermal_cooling_device_ops state2power power2state get_requested_power 3. modify the function(cpu_hotplug.c) interface cpu_up() --> add_cpu() cpu_down() --> remove_cpu() 4. modify config and move module_init from meson_cooldev.c to meson_tsensor.c 5. modify pr_info() --> pr_debug() when probe Verify: s4d Change-Id: I5eead0120dbc826cbb4282d28d7531018c826025 Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
12 lines
243 B
C
12 lines
243 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __CPU_HOTPLUG_H_
|
|
#define __CPU_HOTPLUG_H_
|
|
|
|
void cpufreq_set_max_cpu_num(unsigned int num, unsigned int cluster);
|
|
|
|
#endif
|