2.4.19-pre7-ac3: opl3sa2 compile error

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Tue, 30 Apr 2002 23:04:00 +1000


This is a multi-part message in MIME format.
--------------E43E6376BAF2E063E1D5B219
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/>
--------------E43E6376BAF2E063E1D5B219
Content-Type: text/plain; charset=us-ascii;
 name="2.4.19-pre7-ac3-opl3sa2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="2.4.19-pre7-ac3-opl3sa2.patch"

*** 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; }

--------------E43E6376BAF2E063E1D5B219--

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