From d29ee5e34a325410a06400c9be6038ade17d45bf Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Thu, 17 May 2012 14:45:22 +0100 Subject: [PATCH] --- yaml --- r: 308769 b: refs/heads/master c: 3690fb2ca5f4ecb9424d02598cb55d300f48d844 h: refs/heads/master i: 308767: 950624bcb1acd4d36a73977be26945b09646945d v: v3 --- [refs] | 2 +- trunk/drivers/mfd/ab8500-gpadc.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index edb583708f54..0803b54915e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6dff11e5ab2f752ad75d0b506fcc981fef9999c5 +refs/heads/master: 3690fb2ca5f4ecb9424d02598cb55d300f48d844 diff --git a/trunk/drivers/mfd/ab8500-gpadc.c b/trunk/drivers/mfd/ab8500-gpadc.c index c1656ab34c34..b86fd8e1ec3f 100644 --- a/trunk/drivers/mfd/ab8500-gpadc.c +++ b/trunk/drivers/mfd/ab8500-gpadc.c @@ -648,12 +648,18 @@ static int __devexit ab8500_gpadc_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id ab8500_gpadc_match[] = { + { .compatible = "stericsson,ab8500-gpadc", }, + {} +}; + static struct platform_driver ab8500_gpadc_driver = { .probe = ab8500_gpadc_probe, .remove = __devexit_p(ab8500_gpadc_remove), .driver = { .name = "ab8500-gpadc", .owner = THIS_MODULE, + .of_match_table = ab8500_gpadc_match, }, };