From: Vasily Khoruzhick Date: Thu, 6 Jan 2011 19:52:47 +0000 (+0200) Subject: ARM: S3C2410: H1940: Make h1940-bluetooth.c compile again X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4119242876d7d6ff539e1aa3d736a87a28fe7b67;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Ben Dooks --- 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) s3c_gpio_cfgpin(S3C2410_GPH(3), S3C2410_GPH3_RXD0); s3c_gpio_setpull(S3C2410_GPH(3), S3C_GPIO_PULL_NONE); - rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, &h1940bt_rfkill_ops, NULL); if (!rfk) { @@ -93,8 +92,6 @@ static int __devinit h1940bt_probe(struct platform_device *pdev) goto err_rfk_alloc; } - rfkill_set_led_trigger_name(rfk, "h1940-bluetooth"); - ret = rfkill_register(rfk); if (ret) goto err_rfkill;