lkml.org 
[lkml]   [2003]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[Bug 436] New: i82365.c does not compile (too many arguments to `pnp_activate_dev')
http://bugme.osdl.org/show_bug.cgi?id=436

Summary: i82365.c does not compile (too many arguments to
`pnp_activate_dev')
Kernel Version: 2.5.63
Status: NEW
Severity: normal
Owner: bugme-janitors@lists.osdl.org
Submitter: vincent@gryzor.com


Distribution: Debian sid
Hardware Environment: HP pavilion n5422 laptop
Software Environment: gcc3.2
Problem Description: i82365.c does not compile and issues errors [and
warnings]

gcc -Wp,-MD,drivers/pcmcia/.i82365.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=pentium3
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix
include -DMODULE
-DKBUILD_BASENAME=i82365 -DKBUILD_MODNAME=i82365 -c -o
drivers/pcmcia/i82365.o drivers/pcmcia/i82365.c
drivers/pcmcia/i82365.c: In function `is_alive':
drivers/pcmcia/i82365.c:720: warning: `__check_region' is deprecated
(declared at include/linux/ioport.h:112)
drivers/pcmcia/i82365.c: In function `isa_probe':
drivers/pcmcia/i82365.c:849: too many arguments to function
`pnp_activate_dev' drivers/pcmcia/i82365.c:867: warning: `__check_region'
is deprecated (declared at include/linux/ioport.h:112)
make[3]: *** [drivers/pcmcia/i82365.o] Error 1
make[2]: *** [drivers/pcmcia] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.63'
make: *** [stamp-build] Error 2

Steps to reproduce:
I got this error (of course) when compiling this driver as module as well as
compiled in kernel.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.044 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site