From 64714354a45a58a072cfc926db0a078611a63d43 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 13 May 2010 17:33:01 +0800 Subject: Regulators: ab3100/bq24022: add a missing .owner field in regulator_desc This patch adds a missing .owner field in regulator_desc, which is used for refcounting. Signed-off-by: Axel Lin Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- drivers/regulator/bq24022.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/regulator/bq24022.c') diff --git a/drivers/regulator/bq24022.c b/drivers/regulator/bq24022.c index d08cd9b66c6d..068d488a4f71 100644 --- a/drivers/regulator/bq24022.c +++ b/drivers/regulator/bq24022.c @@ -78,6 +78,7 @@ static struct regulator_desc bq24022_desc = { .name = "bq24022", .ops = &bq24022_ops, .type = REGULATOR_CURRENT, + .owner = THIS_MODULE, }; static int __init bq24022_probe(struct platform_device *pdev) -- cgit v1.2.3