All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI_D0 and PCI_D3hot in atiixp_modem.c not defined in pci.h
@ 2005-04-12 23:53 "Tien,  C.L. - 田承禮"
  2005-04-13 13:04 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: "Tien,  C.L. - 田承禮" @ 2005-04-12 23:53 UTC (permalink / raw)
  To: alsa-devel

Hi,

The CVS version of atiixp_modem.c use PCI_D0 and PCI_D3hot. These constants are not defined in pci.h before kernel version 2.6.11, compile the file will cause compile error as following:

  CC [M]  /home/cltien/work/alsa-cvs/alsa-driver/pci/atiixp_modem.o
In file included from /home/cltien/work/alsa-cvs/alsa-driver/pci/atiixp_modem.c:1:
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c: In function `snd_atiixp_suspend':
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c:1124: error: `PCI_D3hot' undeclared (first use in this function)
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c:1124: error: (Each undeclared identifier is reported only once
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c:1124: error: for each function it appears in.)
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c: In function `snd_atiixp_resume':
/home/cltien/work/alsa-cvs/alsa-driver/pci/../alsa-kernel/pci/atiixp_modem.c:1135: error: `PCI_D0' undeclared (first use in this function)
make[4]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci/atiixp_modem.o] Error 1make[3]: *** [/home/cltien/work/alsa-cvs/alsa-driver/pci] Error 2
make[2]: *** [_module_/home/cltien/work/alsa-cvs/alsa-driver] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [compile] Error 2

Sincerely,
ChenLi Tien


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-13 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 23:53 PCI_D0 and PCI_D3hot in atiixp_modem.c not defined in pci.h "Tien,  C.L. - 田承禮"
2005-04-13 13:04 ` Takashi Iwai
2005-04-13 13:08   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.