From 71b9b1738d32b083a2482eb316675e919d78599e Mon Sep 17 00:00:00 2001 From: Rashika Kheria Date: Fri, 7 Feb 2014 22:16:31 +0530 Subject: sound: Move prototype declaration to header file oss/pas2.h from oss/pas2_card.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move prototype declaration of function to header file oss/pas2.h from oss/pas2_card.c because it is used by more than one file. This eliminates the following warnings in oss/pas2_mixer.c: sound/oss/pas2_mixer.c:62:1: warning: no previous prototype for ‘mix_write’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Takashi Iwai --- sound/oss/pas2_card.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sound/oss/pas2_card.c') diff --git a/sound/oss/pas2_card.c b/sound/oss/pas2_card.c index 7004e24d209f..b07954a79536 100644 --- a/sound/oss/pas2_card.c +++ b/sound/oss/pas2_card.c @@ -74,8 +74,6 @@ static char *pas_model_names[] = { * to support other than the default base address */ -extern void mix_write(unsigned char data, int ioaddr); - unsigned char pas_read(int ioaddr) { return inb(ioaddr + pas_translate_code); -- cgit v1.2.3