Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933096AbbLOBRQ (ORCPT ); Mon, 14 Dec 2015 20:17:16 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:9541 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932824AbbLOBRN (ORCPT ); Mon, 14 Dec 2015 20:17:13 -0500 X-IronPort-AV: E=Sophos;i="5.20,429,1444662000"; d="scan'";a="201809324" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87bn9sqzro.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/8 v5] thermal: rcar: move rcar_thermal_dt_ids to upside User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Simon , Zhang Rui , Eduardo Valentin CC: Geert Uytterhoeven , Magnus , , , , "devicetree@vger.kernel.org" In-Reply-To: <87d1u8qzsy.wl%kuninori.morimoto.gx@renesas.com> References: <87d1u8qzsy.wl%kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset="US-ASCII" Date: Tue, 15 Dec 2015 01:17:07 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0004.jpnprd01.prod.outlook.com (25.161.24.14) To HKXPR06MB1013.apcprd06.prod.outlook.com (25.161.137.28) X-Microsoft-Exchange-Diagnostics: 1;HKXPR06MB1013;2:FaK27twIqJa/HPYIyqT/2hYWHyEqZ0jhYEUdL33KixfJU+KcdNkUTcKIZMBC1goa5MX4A0PbbxYLIxXvrhcbC1DQDJ80L/1LTes5gLwklu+qI09/36DhTowaPR7FR0RrK4BManMphypIfjJKg+xOGQ==;3:YwHT2wONuKEU3aCkIhLMgtlnTvkE6j+KzKO1TR2urWOPejfXXnjmkfoPsVl7uDiRfKhicZc6DFLpN8wXLy5qVxy/dV/+Qb4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dr/iq6AHhdHSgwJWfWWiol5NQ2DPrc9TXg5LAXFe0MzsziiFcUSqQmPTSSUC6CjMDCMQWRCCVkV+LmIGuVaD1cQJvANnYTGF1QrjExWQLoMxUCgdMtFc/mD1mV5dTYprwKUuG0x9BBUyEvdvMOl4NbsDAkC+ONscFiEFhM5bUk4SgSqss9yKWErNjbgMoEEEgkDojFDCgX+ObNfuMXdNIpF9tb7f9oiGfB+LCRuJU75XwmLsfYwxqn93arR0ON3fGqlzhaTrN1obKm24EohaQcENfnRTxeJSr3lqorqjEQ7p+KgRzOLqnTA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001)(10201501046);SRVR:HKXPR06MB1013;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB1013; X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(189998001)(97736004)(5001770100001)(54356999)(53416004)(586003)(36756003)(5001960100002)(6116002)(1096002)(3846002)(23726003)(5004730100002)(81156007)(4001350100001)(229853001)(5008740100001)(33646002)(46406003)(40100003)(50986999)(66066001)(42186005)(122386002)(77096005)(50466002)(105586002)(76176999)(87976001)(106356001)(86362001)(92566002)(83506001)(101416001)(19580395003)(19580405001)(47776003)(69596002)(2950100001);DIR:OUT;SFP:1102;SCL:1;SRVR:HKXPR06MB1013;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HKXPR06MB1013;23:7MB3GAsvaajmvXvSuW93FX4tr4djndWJHYnp8Dgt6?= =?us-ascii?Q?CBV3clhEyB5JHIsFj15Ki0Aw2zZjqyr7h22KG+mVsV5RgC9vjnyMYIFkI5rG?= =?us-ascii?Q?u9w4JL3oUy45Kxphb35A4jF0byd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Q?qo+Vddf55TwH+OXTqB56b1xmPsj61vX+d94tADFKCWNnQpbpxoGpmzmyfvqU?= =?us-ascii?Q?nJ+BQbGWqnY4pZ8kmtpizbJ1+6YE7Ckx8/mOGCW1XdLyDVg9npfHjX0i7tR2?= =?us-ascii?Q?WvQzR1kEVo=3D?= X-Microsoft-Exchange-Diagnostics: 1;HKXPR06MB1013;5:UmLE8qplql9t4IY9oOan8imLtOzk4ql9zL/yixlkwJqD1dESymZ63LKhP5YD8HsD0IbllGtDAQQz4h5TDUouXOPgU3ssozpyPVbstOsvBIOpON8Wz5oU7sgMm2gubmSbl9DrsZhUvLN7is6GU2bx+A==;24:Zy8IHkK0dbey/FAdUauxwfXBRurQZ+6FPIKi0jxxrcup1M4Cvi7cwmti25qu5Z2LRGPDTDHQL0dCTySyM2IZPa4UbZ2jfkfV93A3jCrSuU0=;20:PsI16DGy6N+rP2JKYdZieLgfl+oF6MgA5/SfmdLY4nWhiRdUAbo0X6+VL+DtGd/S4PZ2fGh5xdbZPt9PsHapSowZ6gm39p+zgNuidHb7Uijk0fXTYZtogQfBS1fx3aTjZWY8sEltFQdhJuUaQgEw16uAi4snhpdJdroOJ8BJ9dI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2015 01:17:07.5303 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1013 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1391 Lines: 52 From: Kuninori Morimoto This patch is prepare for of-thermal support. Signed-off-by: Kuninori Morimoto --- v4 -> v5 - no change drivers/thermal/rcar_thermal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 5d4ae7d..ac8d1eb 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -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 */ @@ -491,12 +497,6 @@ static int rcar_thermal_remove(struct platform_device *pdev) return 0; } -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", -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/