mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
thermal: rcar: move rcar_thermal_dt_ids to upside
This patch is prepare for of-thermal support. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
This commit is contained in:
parent
b0d70338bc
commit
ca1e4558fc
@ -81,6 +81,12 @@ struct rcar_thermal_priv {
|
||||
# define rcar_force_update_temp(priv) 0
|
||||
#endif
|
||||
|
||||
static const struct of_device_id rcar_thermal_dt_ids[] = {
|
||||
{ .compatible = "renesas,rcar-thermal", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids);
|
||||
|
||||
/*
|
||||
* basic functions
|
||||
*/
|
||||
@ -484,12 +490,6 @@ error_unregister:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const struct of_device_id rcar_thermal_dt_ids[] = {
|
||||
{ .compatible = "renesas,rcar-thermal", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids);
|
||||
|
||||
static struct platform_driver rcar_thermal_driver = {
|
||||
.driver = {
|
||||
.name = "rcar_thermal",
|
||||
|
Loading…
Reference in New Issue
Block a user