aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_si_intf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 32a6c7e256bd..1a465a4974f8 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -1836,7 +1836,7 @@ static int hotmod_handler(const char *val, struct kernel_param *kp)
1836 return rv; 1836 return rv;
1837} 1837}
1838 1838
1839static int __devinit hardcode_find_bmc(void) 1839static int hardcode_find_bmc(void)
1840{ 1840{
1841 int ret = -ENODEV; 1841 int ret = -ENODEV;
1842 int i; 1842 int i;
@@ -2023,7 +2023,7 @@ struct SPMITable {
2023 s8 spmi_id[1]; /* A '\0' terminated array starts here. */ 2023 s8 spmi_id[1]; /* A '\0' terminated array starts here. */
2024}; 2024};
2025 2025
2026static int __devinit try_init_spmi(struct SPMITable *spmi) 2026static int try_init_spmi(struct SPMITable *spmi)
2027{ 2027{
2028 struct smi_info *info; 2028 struct smi_info *info;
2029 2029
@@ -2106,7 +2106,7 @@ static int __devinit try_init_spmi(struct SPMITable *spmi)
2106 return 0; 2106 return 0;
2107} 2107}
2108 2108
2109static void __devinit spmi_find_bmc(void) 2109static void spmi_find_bmc(void)
2110{ 2110{
2111 acpi_status status; 2111 acpi_status status;
2112 struct SPMITable *spmi; 2112 struct SPMITable *spmi;
@@ -2128,7 +2128,7 @@ static void __devinit spmi_find_bmc(void)
2128 } 2128 }
2129} 2129}
2130 2130
2131static int __devinit ipmi_pnp_probe(struct pnp_dev *dev, 2131static int ipmi_pnp_probe(struct pnp_dev *dev,
2132 const struct pnp_device_id *dev_id) 2132 const struct pnp_device_id *dev_id)
2133{ 2133{
2134 struct acpi_device *acpi_dev; 2134 struct acpi_device *acpi_dev;
@@ -2258,7 +2258,7 @@ struct dmi_ipmi_data {
2258 u8 slave_addr; 2258 u8 slave_addr;
2259}; 2259};
2260 2260
2261static int __devinit decode_dmi(const struct dmi_header *dm, 2261static int decode_dmi(const struct dmi_header *dm,
2262 struct dmi_ipmi_data *dmi) 2262 struct dmi_ipmi_data *dmi)
2263{ 2263{
2264 const u8 *data = (const u8 *)dm; 2264 const u8 *data = (const u8 *)dm;
@@ -2320,7 +2320,7 @@ static int __devinit decode_dmi(const struct dmi_header *dm,
2320 return 0; 2320 return 0;
2321} 2321}
2322 2322
2323static void __devinit try_init_dmi(struct dmi_ipmi_data *ipmi_data) 2323static void try_init_dmi(struct dmi_ipmi_data *ipmi_data)
2324{ 2324{
2325 struct smi_info *info; 2325 struct smi_info *info;
2326 2326
@@ -2388,7 +2388,7 @@ static void __devinit try_init_dmi(struct dmi_ipmi_data *ipmi_data)
2388 kfree(info); 2388 kfree(info);
2389} 2389}
2390 2390
2391static void __devinit dmi_find_bmc(void) 2391static void dmi_find_bmc(void)
2392{ 2392{
2393 const struct dmi_device *dev = NULL; 2393 const struct dmi_device *dev = NULL;
2394 struct dmi_ipmi_data data; 2394 struct dmi_ipmi_data data;
@@ -2424,7 +2424,7 @@ static void ipmi_pci_cleanup(struct smi_info *info)
2424 pci_disable_device(pdev); 2424 pci_disable_device(pdev);
2425} 2425}
2426 2426
2427static int __devinit ipmi_pci_probe_regspacing(struct smi_info *info) 2427static int ipmi_pci_probe_regspacing(struct smi_info *info)
2428{ 2428{
2429 if (info->si_type == SI_KCS) { 2429 if (info->si_type == SI_KCS) {
2430 unsigned char status; 2430 unsigned char status;
@@ -2456,7 +2456,7 @@ static int __devinit ipmi_pci_probe_regspacing(struct smi_info *info)
2456 return DEFAULT_REGSPACING; 2456 return DEFAULT_REGSPACING;
2457} 2457}
2458 2458
2459static int __devinit ipmi_pci_probe(struct pci_dev *pdev, 2459static int ipmi_pci_probe(struct pci_dev *pdev,
2460 const struct pci_device_id *ent) 2460 const struct pci_device_id *ent)
2461{ 2461{
2462 int rv; 2462 int rv;
@@ -2551,7 +2551,7 @@ static struct pci_driver ipmi_pci_driver = {
2551#endif /* CONFIG_PCI */ 2551#endif /* CONFIG_PCI */
2552 2552
2553static struct of_device_id ipmi_match[]; 2553static struct of_device_id ipmi_match[];
2554static int __devinit ipmi_probe(struct platform_device *dev) 2554static int ipmi_probe(struct platform_device *dev)
2555{ 2555{
2556#ifdef CONFIG_OF 2556#ifdef CONFIG_OF
2557 const struct of_device_id *match; 2557 const struct of_device_id *match;
@@ -3059,7 +3059,7 @@ static __devinitdata struct ipmi_default_vals
3059 { .port = 0 } 3059 { .port = 0 }
3060}; 3060};
3061 3061
3062static void __devinit default_find_bmc(void) 3062static void default_find_bmc(void)
3063{ 3063{
3064 struct smi_info *info; 3064 struct smi_info *info;
3065 int i; 3065 int i;
@@ -3359,7 +3359,7 @@ static int try_smi_init(struct smi_info *new_smi)
3359 return rv; 3359 return rv;
3360} 3360}
3361 3361
3362static int __devinit init_ipmi_si(void) 3362static int init_ipmi_si(void)
3363{ 3363{
3364 int i; 3364 int i;
3365 char *str; 3365 char *str;