nomar1929 / bcmon

Automatically exported from code.google.com/p/bcmon
0 stars 0 forks source link

Missed set_irq_wake definition in drivers/net/wireless/bcm4329/bcmsdh_linux.c #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Copy your sources to drivers/net/wireless/bcm4329/
2. Enable BCM4329 [=m] in menuconfig
3. Try to build using make

What is the expected output? 
  CC [M]  drivers/net/wireless/bcm4329/bcmsdh_linux.o

What do you see instead?
  CC [M]  drivers/net/wireless/bcm4329/bcmsdh_linux.o
drivers/net/wireless/bcm4329/bcmsdh_linux.c: In function 
'bcmsdh_register_oob_intr':
drivers/net/wireless/bcm4329/bcmsdh_linux.c:639:3: error: implicit declaration 
of function 'set_irq_wake' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

What version of the product are you using? On what operating system?
Svn trunk at revision 11, kernel Linux/arm 3.0.48-ck1, toolchain 
linaro-android_toolchain-4.7-2012.07

Please provide any additional information below.
Looking at original bcm4329_248/bcmsdh_linux.c file I found that we need to add 
only one line to fix this warning. Patch attached.

Original issue reported on code.google.com by coy...@starrk.pp.ru on 28 Oct 2012 at 12:31

Attachments:

GoogleCodeExporter commented 8 years ago
Which device are you building for ?

Original comment by Djoneslo...@gmail.com on 28 Oct 2012 at 10:33

GoogleCodeExporter commented 8 years ago
HTC Evo 3D (shooteru)

Original comment by coy...@starrk.pp.ru on 12 Dec 2012 at 11:13