From 3bbb6080808f673a1aebb44b1acc6c02114f8f5f Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Wed, 19 Dec 2012 14:20:58 +0530 Subject: [PATCH] --- yaml --- r: 359760 b: refs/heads/master c: c313637641c3e33388903e16cfde97b2e67adb9e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/thermal/db8500_thermal.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index bd58c20ca13b..2d369f39c7a0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: caa5cbd5a18a72bb6f5a5211ddeade71fdb2282d +refs/heads/master: c313637641c3e33388903e16cfde97b2e67adb9e diff --git a/trunk/drivers/thermal/db8500_thermal.c b/trunk/drivers/thermal/db8500_thermal.c index ec71ade3e317..61ce60a35921 100644 --- a/trunk/drivers/thermal/db8500_thermal.c +++ b/trunk/drivers/thermal/db8500_thermal.c @@ -508,15 +508,13 @@ static const struct of_device_id db8500_thermal_match[] = { { .compatible = "stericsson,db8500-thermal" }, {}, }; -#else -#define db8500_thermal_match NULL #endif static struct platform_driver db8500_thermal_driver = { .driver = { .owner = THIS_MODULE, .name = "db8500-thermal", - .of_match_table = db8500_thermal_match, + .of_match_table = of_match_ptr(db8500_thermal_match), }, .probe = db8500_thermal_probe, .suspend = db8500_thermal_suspend,