Skip to content

Commit

Permalink
thermal: rcar: move rcar_thermal_dt_ids to upside
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Eduardo Valentin committed Jan 7, 2016
1 parent b0d7033 commit ca1e455
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/thermal/rcar_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -484,12 +490,6 @@ static int rcar_thermal_probe(struct platform_device *pdev)
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",
Expand Down

0 comments on commit ca1e455

Please sign in to comment.