Commit 4a0f1f09 authored by Nikita Shubin's avatar Nikita Shubin Committed by Arnd Bergmann
parent 824ccabd
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/clk.h> #include <linux/clk.h>
...@@ -188,9 +189,16 @@ static int ep93xx_pwm_probe(struct platform_device *pdev) ...@@ -188,9 +189,16 @@ static int ep93xx_pwm_probe(struct platform_device *pdev)
return 0; return 0;
} }
static const struct of_device_id ep93xx_pwm_of_ids[] = {
{ .compatible = "cirrus,ep9301-pwm" },
{ /* sentinel */}
};
MODULE_DEVICE_TABLE(of, ep93xx_pwm_of_ids);
static struct platform_driver ep93xx_pwm_driver = { static struct platform_driver ep93xx_pwm_driver = {
.driver = { .driver = {
.name = "ep93xx-pwm", .name = "ep93xx-pwm",
.of_match_table = ep93xx_pwm_of_ids,
}, },
.probe = ep93xx_pwm_probe, .probe = ep93xx_pwm_probe,
}; };
......
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