[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <481C51BE.5010606@aknet.ru>
Date: Sat, 03 May 2008 15:51:26 +0400
From: Stas Sergeev <stsp@...et.ru>
To: Ingo Molnar <mingo@...e.hu>
CC: Takashi Iwai <tiwai@...e.de>,
Linux kernel <linux-kernel@...r.kernel.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Vojtech Pavlik <vojtech@...e.cz>,
Michael Opdenacker <michael-lists@...e-electrons.com>
Subject: [patch][resend] pcspkr: fix dependancies
Hello.
linux-2.6.25 has the strange dependancies
for pc-speaker, which prevents snd-pcsp
from working.
Namely, the platform device (created in
arch/x86/kernel/pcspeaker.c) depends on
the platform driver (CONFIG_INPUT_PCSPKR).
I wonder if it is a good practice to make
the platform device to depend on the driver,
I guess it is not.
The attached patch reverses that.
It adds the config option for the pcspkr
platform device and makes the platform
drivers to depend on that.
This allows snd-pcsp to work at least in
some configurations.
Ingo, would it be possible to get that
applied?
---
fix pcspkr dependancies: make the pcspkr platform
drivers to depend on a platform device, and
not the other way around.
Signed-off-by: Stas Sergeev <stsp@...et.ru>
CC: Dmitry Torokhov <dmitry.torokhov@...il.com>
CC: Vojtech Pavlik <vojtech@...e.cz>
CC: Michael Opdenacker <michael-lists@...e-electrons.com>
CC: Takashi Iwai <tiwai@...e.de>
View attachment "pcsp_dep2.diff" of type "text/x-patch" (1315 bytes)
Powered by blists - more mailing lists