Search Linux Wireless

Re: [PATCH] rtl8187: Fixed section mismatch in rtl8187_dev.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What's the status of the patch?

On 7/9/08, Ihar Hrachyshka <ihar.hrachyshka@xxxxxxxxxxx> wrote:
> When CONFIG_HOTPLUG=n the following error occures on vmlinux linkage:
>
> `.exit.text' referenced in section `.data' of drivers/built-in.o:
> defined in discarded section `.exit.text' of drivers/built-in.o
>
> 'rtl8187_disconnect' function marked as __devexit isn't compiled with no
> hotplug support. Added __devexit_p macros to fix the problem.
>
> Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@xxxxxxxxxxx>
>
> ---
>
>  drivers/net/wireless/rtl8187_dev.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rtl8187_dev.c
> b/drivers/net/wireless/rtl8187_dev.c index bec96d7..b70cc5d 100644
> --- a/drivers/net/wireless/rtl8187_dev.c
> +++ b/drivers/net/wireless/rtl8187_dev.c
> @@ -836,7 +836,7 @@ static struct usb_driver rtl8187_driver = {
>        .name           = KBUILD_MODNAME,
>        .id_table       = rtl8187_table,
>        .probe          = rtl8187_probe,
> -       .disconnect     = rtl8187_disconnect,
> +       .disconnect     = __devexit_p(rtl8187_disconnect),
>  };
>
>  static int __init rtl8187_init(void)
>
> --
> Ihar Hrachyshka
> Software Developer
> Promwad Innovation Company
> 19, Sharangovicha Str.
> 220018, Minsk, Belarus
> Phone/Fax: +375 (17) 211-5826
> Web: www.promwad.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux