mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PNP vs. sound/isa/cs423x/cs4236.c in 2.6.16-rc1
@ 2006-01-21 15:48 Bob Tracy
  0 siblings, 0 replies; only message in thread
From: Bob Tracy @ 2006-01-21 15:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: alsa-devel, perex

The rework of various ALSA drivers between 2.6.15 and 2.6.16-rc1 has
apparently introduced a dependency on CONFIG_PNP.  Unfortunately, PNP
has been problematic on my old Toshiba notebook (Tecra 730XCDT), so I
have CONFIG_PNP undefined in my kernel configuration.  This is the
result, because the define for CS423X_DRIVER doesn't happen without
CONFIG_PNP:

  CC [M]  sound/isa/cs423x/cs4232.o
  In file included from sound/isa/cs423x/cs4232.c:2:
  sound/isa/cs423x/cs4236.c:612: error: `CS423X_DRIVER' undeclared here (not in a function)
  sound/isa/cs423x/cs4236.c:612: error: initializer element is not constant
  sound/isa/cs423x/cs4236.c:612: error: (near initialization for `cs423x_nonpnp_driver.driver.name')
  sound/isa/cs423x/cs4236.c:612: error: initializer element is not constant
  sound/isa/cs423x/cs4236.c:612: error: (near initialization for `cs423x_nonpnp_driver.driver')
  sound/isa/cs423x/cs4236.c: In function `snd_cs423x_unregister_all':
  sound/isa/cs423x/cs4236.c:751: error: `cs423x_pnpc_driver' undeclared (first use in this function)
  sound/isa/cs423x/cs4236.c:751: error: (Each undeclared identifier is reported only once
  sound/isa/cs423x/cs4236.c:751: error: for each function it appears in.)
  sound/isa/cs423x/cs4236.c:754: error: `cs4232_pnp_driver' undeclared (first use in this function)
  sound/isa/cs423x/cs4236.c: In function `alsa_card_cs423x_init':
  sound/isa/cs423x/cs4236.c:772: error: `CS423X_DRIVER' undeclared (first use in this function)
  sound/isa/cs423x/cs4236.c:782: error: `cs4232_pnp_driver' undeclared (first use in this function)
  sound/isa/cs423x/cs4236.c:788: error: `cs423x_pnpc_driver' undeclared (first use in this function)
  make[3]: *** [sound/isa/cs423x/cs4232.o] Error 1
  make[2]: *** [sound/isa/cs423x] Error 2
  make[1]: *** [sound/isa] Error 2
  make: *** [sound] Error 2

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

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

only message in thread, other threads:[~2006-01-21 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-21 15:48 PNP vs. sound/isa/cs423x/cs4236.c in 2.6.16-rc1 Bob Tracy

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®