diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2011-08-15 22:10:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 18:20:52 -0400 |
commit | fbfcdf254d7be71b25bfc053e9d22ef8ff061750 (patch) | |
tree | f2a47c1f591af81c198a1f3ed4c1032d492c528c /drivers/staging/bcm/headers.h | |
parent | 6c15e002f97db64d23552099c908a066a8219baa (diff) |
Staging: bcm: Fix a coding style error reported by checkpatch.pl
Tool checkpatch.pl reported the following error: extern struct class *bcm_class;"
declaration not allowed in .c files. Therefore, I move this declaration into
the header "headers.h" file.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/bcm/headers.h')
-rw-r--r-- | drivers/staging/bcm/headers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h index 947d0632568..da47db8c8f2 100644 --- a/drivers/staging/bcm/headers.h +++ b/drivers/staging/bcm/headers.h | |||
@@ -74,4 +74,6 @@ | |||
74 | #define DRV_VERSION VER_FILEVERSION_STR | 74 | #define DRV_VERSION VER_FILEVERSION_STR |
75 | #define PFX DRV_NAME " " | 75 | #define PFX DRV_NAME " " |
76 | 76 | ||
77 | extern struct class *bcm_class; | ||
78 | |||
77 | #endif | 79 | #endif |