mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: rct@gherkin.frus.com (Bob Tracy)
To: linux-kernel@vger.kernel.org
Cc: alsa-devel@alsa-project.org, perex@suse.cz
Subject: PNP vs. sound/isa/cs423x/cs4236.c in 2.6.16-rc1
Date: Sat, 21 Jan 2006 09:48:05 -0600 (CST)	[thread overview]
Message-ID: <20060121154805.4D3DADBA1@gherkin.frus.com> (raw)

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

                 reply	other threads:[~2006-01-21 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060121154805.4D3DADBA1@gherkin.frus.com \
    --to=rct@gherkin.frus.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®