lkml.org 
[lkml]   [2002]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.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;
}
\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.045 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site