Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177570
b: refs/heads/master
c: 18a3e0b
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Dec 15, 2009
1 parent c9301b1 commit 82ac22d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: ad497680a5ff646e645752e3e065a752f32f12f8
refs/heads/master: 18a3e0bfbcd589599d0affbfd484ba9a97e5f122
10 changes: 5 additions & 5 deletions trunk/drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ struct SPMITable {
s8 spmi_id[1]; /* A '\0' terminated array starts here. */
};

static __devinit int try_init_acpi(struct SPMITable *spmi)
static __devinit int try_init_spmi(struct SPMITable *spmi)
{
struct smi_info *info;
u8 addr_space;
Expand All @@ -1940,7 +1940,7 @@ static __devinit int try_init_acpi(struct SPMITable *spmi)
return -ENOMEM;
}

info->addr_source = "ACPI";
info->addr_source = "SPMI";

/* Figure out the interface type. */
switch (spmi->InterfaceType) {
Expand Down Expand Up @@ -2002,7 +2002,7 @@ static __devinit int try_init_acpi(struct SPMITable *spmi)
return 0;
}

static __devinit void acpi_find_bmc(void)
static __devinit void spmi_find_bmc(void)
{
acpi_status status;
struct SPMITable *spmi;
Expand All @@ -2020,7 +2020,7 @@ static __devinit void acpi_find_bmc(void)
if (status != AE_OK)
return;

try_init_acpi(spmi);
try_init_spmi(spmi);
}
}
#endif
Expand Down Expand Up @@ -3104,7 +3104,7 @@ static __devinit int init_ipmi_si(void)
#endif

#ifdef CONFIG_ACPI
acpi_find_bmc();
spmi_find_bmc();
#endif

#ifdef CONFIG_PCI
Expand Down

0 comments on commit 82ac22d

Please sign in to comment.