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>
This commit is contained in:
Vasily Khoruzhick 2011-01-06 21:52:47 +02:00 коммит произвёл Ben Dooks
Родитель bbb1c832ac
Коммит 4119242876
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -85,7 +85,6 @@ static int __devinit h1940bt_probe(struct platform_device *pdev)
s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0); s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0);
s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE); s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE);
rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH,
&h1940bt_rfkill_ops, NULL); &h1940bt_rfkill_ops, NULL);
if (!rfk) { if (!rfk) {
@ -93,8 +92,6 @@ static int __devinit h1940bt_probe(struct platform_device *pdev)
goto err_rfk_alloc; goto err_rfk_alloc;
} }
rfkill_set_led_trigger_name(rfk, "h1940-bluetooth");
ret = rfkill_register(rfk); ret = rfkill_register(rfk);
if (ret) if (ret)
goto err_rfkill; goto err_rfkill;