Skip to content

Commit

Permalink
s3c_adc_battery: Fix annotation for s3c_adc_battery_probe()
Browse files Browse the repository at this point in the history
A probe() function is used at device init time rather than system init
time.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
  • Loading branch information
Mark Brown authored and Anton Vorontsov committed Jul 8, 2011
1 parent ee177d9 commit f704d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/s3c_adc_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void *dev_id)
return IRQ_HANDLED;
}

static int __init s3c_adc_bat_probe(struct platform_device *pdev)
static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
{
struct s3c_adc_client *client;
struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;
Expand Down

0 comments on commit f704d45

Please sign in to comment.