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

[PATCH] namespace pollution in Dell SMM driver

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

  The i8k driver has global variables named 'force' and 'power_status'
  that pollute the name space. This makes them static.
parent 42ac165d
...@@ -66,8 +66,8 @@ static char product_name [48] = "?"; ...@@ -66,8 +66,8 @@ static char product_name [48] = "?";
static char bios_version [4] = "?"; static char bios_version [4] = "?";
static char serial_number[16] = "?"; static char serial_number[16] = "?";
int force = 0; static int force = 0;
int power_status = 0; static int power_status = 0;
MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)"); MODULE_AUTHOR("Massimo Dal Zotto (dz@debian.org)");
MODULE_DESCRIPTION("Driver for accessing SMM BIOS on Dell laptops"); MODULE_DESCRIPTION("Driver for accessing SMM BIOS on Dell laptops");
......
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