summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2010-09-14 09:45:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-14 16:24:20 -0700
commit5fee254098c11a52ce04e1efdc8c090caf592bfd (patch)
treebe876da62be1d0e620fb496191b05b43526e97e2 /drivers/staging
parent92dfc7d18a123fcf22beaf23036ba02a13416e3e (diff)
downloadop-kernel-dev-5fee254098c11a52ce04e1efdc8c090caf592bfd.zip
op-kernel-dev-5fee254098c11a52ce04e1efdc8c090caf592bfd.tar.gz
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: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/brcm80211/include/bcmutils.h6
-rw-r--r--drivers/staging/brcm80211/sys/wl_mac80211.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/brcm80211/include/bcmutils.h b/drivers/staging/brcm80211/include/bcmutils.h
index 67fe99c..321071b 100644
--- a/drivers/staging/brcm80211/include/bcmutils.h
+++ b/drivers/staging/brcm80211/include/bcmutils.h
@@ -415,15 +415,15 @@ extern "C" {
}
#ifndef ABS
-#define ABS(a) (((a) < 0) ? -(a):(a))
+#define ABS(a) (((a) < 0) ? -(a) : (a))
#endif /* ABS */
#ifndef MIN
-#define MIN(a, b) (((a) < (b)) ? (a):(b))
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif /* MIN */
#ifndef MAX
-#define MAX(a, b) (((a) > (b)) ? (a):(b))
+#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif /* MAX */
#define CEIL(x, y) (((x) + ((y)-1)) / (y))
diff --git a/drivers/staging/brcm80211/sys/wl_mac80211.c b/drivers/staging/brcm80211/sys/wl_mac80211.c
index adcac6d..71bd463 100644
--- a/drivers/staging/brcm80211/sys/wl_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wl_mac80211.c
@@ -1611,14 +1611,14 @@ static void __devexit wl_remove(struct pci_dev *pdev)
}
static struct pci_driver wl_pci_driver = {
- name: "brcm80211",
- probe: wl_pci_probe,
+ .name = "brcm80211",
+ .probe = wl_pci_probe,
#ifdef LINUXSTA_PS
- suspend: wl_suspend,
- resume: wl_resume,
+ .suspend = wl_suspend,
+ .resume = wl_resume,
#endif /* LINUXSTA_PS */
- remove: __devexit_p(wl_remove),
- id_table: wl_id_table,
+ .remove = __devexit_p(wl_remove),
+ .id_table = wl_id_table,
};
#endif /* !BCMSDIO */
OpenPOWER on IntegriCloud