aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/pwm-tegra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-tegra.c b/drivers/pwm/pwm-tegra.c
index 30c0e2b70ce8..f7770312c1a9 100644
--- a/drivers/pwm/pwm-tegra.c
+++ b/drivers/pwm/pwm-tegra.c
@@ -233,7 +233,6 @@ static int tegra_pwm_remove(struct platform_device *pdev)
233 return pwmchip_remove(&pc->chip); 233 return pwmchip_remove(&pc->chip);
234} 234}
235 235
236#ifdef CONFIG_OF
237static struct of_device_id tegra_pwm_of_match[] = { 236static struct of_device_id tegra_pwm_of_match[] = {
238 { .compatible = "nvidia,tegra20-pwm" }, 237 { .compatible = "nvidia,tegra20-pwm" },
239 { .compatible = "nvidia,tegra30-pwm" }, 238 { .compatible = "nvidia,tegra30-pwm" },
@@ -241,12 +240,11 @@ static struct of_device_id tegra_pwm_of_match[] = {
241}; 240};
242 241
243MODULE_DEVICE_TABLE(of, tegra_pwm_of_match); 242MODULE_DEVICE_TABLE(of, tegra_pwm_of_match);
244#endif
245 243
246static struct platform_driver tegra_pwm_driver = { 244static struct platform_driver tegra_pwm_driver = {
247 .driver = { 245 .driver = {
248 .name = "tegra-pwm", 246 .name = "tegra-pwm",
249 .of_match_table = of_match_ptr(tegra_pwm_of_match), 247 .of_match_table = tegra_pwm_of_match,
250 }, 248 },
251 .probe = tegra_pwm_probe, 249 .probe = tegra_pwm_probe,
252 .remove = tegra_pwm_remove, 250 .remove = tegra_pwm_remove,