Commit 5a8fea03 authored by Lee Jones's avatar Lee Jones Committed by Samuel Ortiz

mfd: Enable ab8500-debug when Device Tree is enabled

Allow the ab8500-debugfs driver to be probed during DT start-up.
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 6bc4a568
...@@ -608,10 +608,16 @@ static int __devexit ab8500_debug_remove(struct platform_device *plf) ...@@ -608,10 +608,16 @@ static int __devexit ab8500_debug_remove(struct platform_device *plf)
return 0; return 0;
} }
static const struct of_device_id ab8500_debug_match[] = {
{ .compatible = "stericsson,ab8500-debug", },
{}
};
static struct platform_driver ab8500_debug_driver = { static struct platform_driver ab8500_debug_driver = {
.driver = { .driver = {
.name = "ab8500-debug", .name = "ab8500-debug",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.of_match_table = ab8500_debug_match,
}, },
.probe = ab8500_debug_probe, .probe = ab8500_debug_probe,
.remove = __devexit_p(ab8500_debug_remove) .remove = __devexit_p(ab8500_debug_remove)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment