diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2011-08-16 02:10:12 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 22:20:52 (GMT) |
commit | fbfcdf254d7be71b25bfc053e9d22ef8ff061750 (patch) | |
tree | f2a47c1f591af81c198a1f3ed4c1032d492c528c /drivers/staging/bcm/Bcmchar.c | |
parent | 6c15e002f97db64d23552099c908a066a8219baa (diff) | |
download | linux-fsl-qoriq-fbfcdf254d7be71b25bfc053e9d22ef8ff061750.tar.xz |
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/Bcmchar.c')
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 4bcc38b..d3f3856 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -1974,8 +1974,6 @@ static const struct file_operations bcm_fops = { .llseek = no_llseek, }; -extern struct class *bcm_class; - int register_control_device_interface(PMINI_ADAPTER Adapter) { |