Revision d268e0d28165340c3799a8a4944bc40f444f49fd authored by Javier Martinez Canillas on 17 June 2010, 05:17:44 UTC, committed by Greg Kroah-Hartman on 30 June 2010, 15:18:15 UTC
I got a wlags49_h2 driver build error in linux-next when CONFIG_SYSFS is not set.

CC [M]  drivers/staging/wlags49_h2/wl_cs.o
In file included from drivers/staging/wlags49_h2/wl_cs.c:104:
drivers/staging/wlags49_h2/wl_sysfs.h: In function ‘register_wlags_sysfs’:
drivers/staging/wlags49_h2/wl_sysfs.h:5: error: parameter name omitted
drivers/staging/wlags49_h2/wl_sysfs.h: In function ‘unregister_wlags_sysfs’:
drivers/staging/wlags49_h2/wl_sysfs.h:6: error: parameter name omitted
make[1]: *** [drivers/staging/wlags49_h2/wl_cs.o] Error 1
make: *** [_module_drivers/staging/wlags49_h2] Error 2

This is due a wrong function definition (it does not include parameters names).

Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent 8174fc0
History
File Mode Size
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 6.2 KB
Makefile -rw-r--r-- 835 bytes
capability.c -rw-r--r-- 22.9 KB
commoncap.c -rw-r--r-- 26.6 KB
device_cgroup.c -rw-r--r-- 11.8 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 32.0 KB

back to top