Skip to content

Commit

Permalink
staging: brcm80211: fix remaining checkpatch errors.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Cooper authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent 92dfc7d commit 5fee254
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/brcm80211/include/bcmutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
12 changes: 6 additions & 6 deletions drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 5fee254

Please sign in to comment.