Skip to content

Commit

Permalink
Staging: brcm80211: typedefs.h move types.h to the top of the file
Browse files Browse the repository at this point in the history
Include other files from the top, it's easier to unwind the logic that
way.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Oct 5, 2010
1 parent cc79cad commit 7848789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/brcm80211/include/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef _TYPEDEFS_H_
#define _TYPEDEFS_H_

#include <linux/types.h>

/*
* Infer the compile environment based on preprocessor symbols and pragmas.
* Override type definitions as needed, and include configuration-dependent
Expand All @@ -31,7 +33,6 @@ typedef unsigned long long int uintptr;
#define TYPEDEF_UINT
#define TYPEDEF_USHORT
#define TYPEDEF_ULONG
#include <linux/types.h>

/*
* Default Typedefs
Expand Down

0 comments on commit 7848789

Please sign in to comment.