Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236134
b: refs/heads/master
c: dc5ecf4
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Feb 27, 2011
1 parent 61d351a commit f9fef1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 00bfe272bb7f26511919da1b44fa5d21e67bab15
refs/heads/master: dc5ecf45f3e772a9845c1afebfbc423474f2e46a
12 changes: 6 additions & 6 deletions trunk/drivers/staging/samsung-laptop/samsung-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ struct sabi_performance_level {
struct sabi_config {
const char *test_string;
u16 main_function;
struct sabi_header_offsets header_offsets;
struct sabi_commands commands;
struct sabi_performance_level performance_levels[4];
const struct sabi_header_offsets header_offsets;
const struct sabi_commands commands;
const struct sabi_performance_level performance_levels[4];
};

static struct sabi_config sabi_configs[] = {
static const struct sabi_config sabi_configs[] = {
{
.test_string = "SECLINUX",

Expand Down Expand Up @@ -211,7 +211,7 @@ static struct sabi_config sabi_configs[] = {
{ },
};

static struct sabi_config *sabi_config;
static const struct sabi_config *sabi_config;

static void __iomem *sabi;
static void __iomem *sabi_iface;
Expand Down Expand Up @@ -467,7 +467,7 @@ static ssize_t set_performance_level(struct device *dev,
if (count >= 1) {
int i;
for (i = 0; sabi_config->performance_levels[i].name; ++i) {
struct sabi_performance_level *level =
const struct sabi_performance_level *level =
&sabi_config->performance_levels[i];
if (!strncasecmp(level->name, buf, strlen(level->name))) {
sabi_set_command(sabi_config->commands.set_performance_level,
Expand Down

0 comments on commit f9fef1a

Please sign in to comment.