Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / pwm / pwm-twl-led.c
index 83e25d45d640adde070f4fa43526506d2a29334d..29d1bba4804ec95fa7c249ebbe6ad3ea057fe08a 100644 (file)
@@ -271,6 +271,7 @@ static const struct pwm_ops twl4030_pwmled_ops = {
        .enable = twl4030_pwmled_enable,
        .disable = twl4030_pwmled_disable,
        .config = twl4030_pwmled_config,
+       .owner = THIS_MODULE,
 };
 
 static const struct pwm_ops twl6030_pwmled_ops = {
@@ -279,6 +280,7 @@ static const struct pwm_ops twl6030_pwmled_ops = {
        .config = twl6030_pwmled_config,
        .request = twl6030_pwmled_request,
        .free = twl6030_pwmled_free,
+       .owner = THIS_MODULE,
 };
 
 static int twl_pwmled_probe(struct platform_device *pdev)
@@ -321,7 +323,7 @@ static int twl_pwmled_remove(struct platform_device *pdev)
 }
 
 #ifdef CONFIG_OF
-static struct of_device_id twl_pwmled_of_match[] = {
+static const struct of_device_id twl_pwmled_of_match[] = {
        { .compatible = "ti,twl4030-pwmled" },
        { .compatible = "ti,twl6030-pwmled" },
        { },