Merge tag 'drm-intel-next-2014-12-19' of git://anongit.freedesktop.org/drm-intel...
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / max77693.c
index d158f71fa12817ef8f34c40b1955a910f115375f..07b313e51b2184dc706c754d16ddd48fdba08031 100644 (file)
@@ -139,7 +139,7 @@ static struct regulator_ops max77693_charger_ops = {
        .enable_mask    = SAFEOUT_CTRL_ENSAFEOUT##_num##_MASK , \
 }
 
-static struct regulator_desc regulators[] = {
+static const struct regulator_desc regulators[] = {
        regulator_desc_esafeout(1),
        regulator_desc_esafeout(2),
        {
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id);
 static struct platform_driver max77693_pmic_driver = {
        .driver = {
                   .name = "max77693-pmic",
-                  .owner = THIS_MODULE,
                   },
        .probe = max77693_pmic_probe,
        .id_table = max77693_pmic_id,