Messages in this thread | | | Date | Tue, 30 Apr 2002 23:04:00 +1000 | From | Eyal Lebedinsky <> | Subject | 2.4.19-pre7-ac3: opl3sa2 compile error |
| |
gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-ac/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /data2/usr/local/src/linux-2.4-pre-ac/include/linux/modversions.h -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=opl3sa2 -c -o opl3sa2.o opl3sa2.c opl3sa2.c: In function `probe_opl3sa2': opl3sa2.c:721: structure has no member named `iobase' opl3sa2.c: In function `opl3sa2_pm_callback': opl3sa2.c:982: warning: cast from pointer to integer of different size make[2]: *** [opl3sa2.o] Error 1 make[2]: Leaving directory `/data2/usr/local/src/linux-2.4-pre-ac/drivers/sound'
I think it should say 'io_base'.
-- Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>*** linux/drivers/sound/opl3sa2.c.orig Tue Apr 30 23:01:10 2002 --- linux/drivers/sound/opl3sa2.c Tue Apr 30 23:01:22 2002 *************** *** 718,724 **** } out_region: ! release_region(hw_config->iobase, 2); out_nodev: return -ENODEV; } --- 718,724 ---- } out_region: ! release_region(hw_config->io_base, 2); out_nodev: return -ENODEV; }
| |