From: ralf@linux-mips.org Subject: [patch 07/14] i8253: Make pcsp sound driver use the shared i8253_lock. Date: Wed, 01 Jun 2011 19:05:03 +0100 Message-ID: <20110601180610.532642190@duck.linux-mips.net> References: <20110601180456.801265664@duck.linux-mips.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline; filename=i8253-move-sound-pcsp-to-shared-lock.patch List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Takashi Iwai , alsa-devel@alsa-project.org List-Id: linux-arch.vger.kernel.org Signed-off-by: Ralf Baechle To: linux-kernel@vger.kernel.org Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-devel@alsa-project.org sound/drivers/pcsp/pcsp.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) Index: linux-mips/sound/drivers/pcsp/pcsp.h =================================================================== --- linux-mips.orig/sound/drivers/pcsp/pcsp.h +++ linux-mips/sound/drivers/pcsp/pcsp.h @@ -10,14 +10,8 @@ #define __PCSP_H__ #include -#include -#if defined(CONFIG_MIPS) || defined(CONFIG_X86) -/* Use the global PIT lock ! */ #include -#else -#include -static DEFINE_RAW_SPINLOCK(i8253_lock); -#endif +#include #define PCSP_SOUND_VERSION 0x400 /* read 4.00 */ #define PCSP_DEBUG 0