Commit 5fee2540 authored by Jason Cooper's avatar Jason Cooper Committed by Greg Kroah-Hartman

staging: brcm80211: fix remaining checkpatch errors.

Remaining errors are due to the use of typedefs.  They should dissappear
once the typedefs get cleaned up.
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 92dfc7d1
...@@ -415,15 +415,15 @@ extern "C" { ...@@ -415,15 +415,15 @@ extern "C" {
} }
#ifndef ABS #ifndef ABS
#define ABS(a) (((a) < 0) ? -(a):(a)) #define ABS(a) (((a) < 0) ? -(a) : (a))
#endif /* ABS */ #endif /* ABS */
#ifndef MIN #ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a):(b)) #define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif /* MIN */ #endif /* MIN */
#ifndef MAX #ifndef MAX
#define MAX(a, b) (((a) > (b)) ? (a):(b)) #define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif /* MAX */ #endif /* MAX */
#define CEIL(x, y) (((x) + ((y)-1)) / (y)) #define CEIL(x, y) (((x) + ((y)-1)) / (y))
......
...@@ -1611,14 +1611,14 @@ static void __devexit wl_remove(struct pci_dev *pdev) ...@@ -1611,14 +1611,14 @@ static void __devexit wl_remove(struct pci_dev *pdev)
} }
static struct pci_driver wl_pci_driver = { static struct pci_driver wl_pci_driver = {
name: "brcm80211", .name = "brcm80211",
probe: wl_pci_probe, .probe = wl_pci_probe,
#ifdef LINUXSTA_PS #ifdef LINUXSTA_PS
suspend: wl_suspend, .suspend = wl_suspend,
resume: wl_resume, .resume = wl_resume,
#endif /* LINUXSTA_PS */ #endif /* LINUXSTA_PS */
remove: __devexit_p(wl_remove), .remove = __devexit_p(wl_remove),
id_table: wl_id_table, .id_table = wl_id_table,
}; };
#endif /* !BCMSDIO */ #endif /* !BCMSDIO */
......
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