diff options
| author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-01-06 14:52:47 -0500 |
|---|---|---|
| committer | Ben Dooks <ben-linux@fluff.org> | 2011-03-20 19:14:54 -0400 |
| commit | 4119242876d7d6ff539e1aa3d736a87a28fe7b67 (patch) | |
| tree | 002832fbaff6e43abb033fdcfa789177296e2959 | |
| parent | bbb1c832ac52f61b926a4635dc1a708f03250e88 (diff) | |
ARM: S3C2410: H1940: Make h1940-bluetooth.c compile again
It was broken by removal of rfkill_set_led_trigger_name function,
and now compiler complains about implicit declaration.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| -rw-r--r-- | arch/arm/mach-s3c2410/h1940-bluetooth.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/h1940-bluetooth.c b/arch/arm/mach-s3c2410/h1940-bluetooth.c index 6b86a722a7db..6c59ef5f8e98 100644 --- a/arch/arm/mach-s3c2410/h1940-bluetooth.c +++ b/arch/arm/mach-s3c2410/h1940-bluetooth.c | |||
| @@ -85,7 +85,6 @@ static int __devinit h1940bt_probe(struct platform_device *pdev) | |||
| 85 | s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0); | 85 | s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0); |
| 86 | s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE); | 86 | s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE); |
| 87 | 87 | ||
| 88 | |||
| 89 | rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, | 88 | rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, |
| 90 | &h1940bt_rfkill_ops, NULL); | 89 | &h1940bt_rfkill_ops, NULL); |
| 91 | if (!rfk) { | 90 | if (!rfk) { |
| @@ -93,8 +92,6 @@ static int __devinit h1940bt_probe(struct platform_device *pdev) | |||
| 93 | goto err_rfk_alloc; | 92 | goto err_rfk_alloc; |
| 94 | } | 93 | } |
| 95 | 94 | ||
| 96 | rfkill_set_led_trigger_name(rfk, "h1940-bluetooth"); | ||
| 97 | |||
| 98 | ret = rfkill_register(rfk); | 95 | ret = rfkill_register(rfk); |
| 99 | if (ret) | 96 | if (ret) |
| 100 | goto err_rfkill; | 97 | goto err_rfkill; |
