mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.19-pre7-ac3: opl3sa2 compile error
@ 2002-04-30 13:04 Eyal Lebedinsky
  0 siblings, 0 replies; only message in thread
From: Eyal Lebedinsky @ 2002-04-30 13:04 UTC (permalink / raw)
  To: list linux-kernel

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

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

[-- Attachment #2: 2.4.19-pre7-ac3-opl3sa2.patch --]
[-- Type: text/plain, Size: 372 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-30 13:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-30 13:04 2.4.19-pre7-ac3: opl3sa2 compile error Eyal Lebedinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®