Commit 13439a50 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] trivial sound static/cast fixes

parent ff710b16
......@@ -192,8 +192,8 @@ struct m3_list {
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;
......
......@@ -978,7 +978,7 @@ static int opl3sa2_resume(struct pm_dev *pdev)
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment