PATCH: trivial sound static/cast fixes

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 14:08:51 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/sound/oss/maestro3.c linux.2.5.41-ac1/sound/oss/maestro3.c
--- linux.2.5.41/sound/oss/maestro3.c 2002-10-07 22:12:31.000000000 +0100
+++ linux.2.5.41-ac1/sound/oss/maestro3.c 2002-10-07 23:24:44.000000000 +0100
@@ -192,8 +192,8 @@
     int max;
 };
 
-int external_amp = 1;
-int gpio_pin = -1;
+static int external_amp = 1;
+static int gpio_pin = -1;
 
 struct m3_state {
     unsigned int magic;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/sound/oss/opl3sa2.c linux.2.5.41-ac1/sound/oss/opl3sa2.c
--- linux.2.5.41/sound/oss/opl3sa2.c 2002-10-02 21:33:42.000000000 +0100
+++ linux.2.5.41-ac1/sound/oss/opl3sa2.c 2002-10-06 22:15:33.000000000 +0100
@@ -978,7 +978,7 @@
 
 static int opl3sa2_pm_callback(struct pm_dev *pdev, pm_request_t rqst, void *data)
 {
- unsigned char mode = (unsigned char)data;
+ unsigned long mode = (unsigned long)data;
 
         switch (rqst) {
                 case PM_SUSPEND:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:27 EST