Search Linux Wireless

Re: [PATCH v3] net:rfkill: add a gpio setup function into GPIO rfkill

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

 



Reference: Email from Sangwook Lee, 2011-09-29 to this list and to lkml, with this subject, see http://article.gmane.org/gmane.linux.kernel/1197024/

Now, when I compile compat-wireless-2011-11-03 on my G3 iBook (ppc32) against linux-3.1.0 (Fedora based kernel package 3.1.0-7.fc16.ppc), I get the following errors, so it seems that Lee's patch was not merged (yet), though those structs 'gpio_runtime_setup' and 'gpio_runtime_close' are used in the rfkill-gpio module:

  CC [M]  /home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.o
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c: In function 'rfkill_gpio_probe':
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c:104:11: error: 'struct rfkill_gpio_platform_data' has no member named 'gpio_runtime_setup'
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c:105:14: error: 'struct rfkill_gpio_platform_data' has no member named 'gpio_runtime_setup'
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c: In function 'rfkill_gpio_remove':
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c:195:11: error: 'struct rfkill_gpio_platform_data' has no member named 'gpio_runtime_close'
/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.c:196:8: error: 'struct rfkill_gpio_platform_data' has no member named 'gpio_runtime_close'
make[3]: *** [/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill/rfkill-gpio.o] Error 1
make[2]: *** [/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03/net/rfkill] Error 2
make[1]: *** [_module_/home/ingvar/src/compat-wireless-latest/compat-wireless-2011-11-03] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.1.0-7.fc16.ppc'
make: *** [modules] Error 2

Adding Lee's patch (or even only the headers) seems to work.

Just fyi.

Ingvar
--
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