Commit f7f3bff6 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in korg 1212 driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  The korg1212 driver has a global variable named 'rc' that pollutes
  the namespace. This makes it static.
parent 920f9463
...@@ -464,7 +464,7 @@ u16 ClockSourceSelector[] = {0x8000, // selects source as ADAT at 44.1 kHz ...@@ -464,7 +464,7 @@ u16 ClockSourceSelector[] = {0x8000, // selects source as ADAT at 44.1 kHz
0x0002 // selects source as local clock at 48 kHz 0x0002 // selects source as local clock at 48 kHz
}; };
snd_korg1212rc rc; static snd_korg1212rc rc;
MODULE_DEVICE_TABLE(pci, snd_korg1212_ids); MODULE_DEVICE_TABLE(pci, snd_korg1212_ids);
......
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