[PATCH 2/3] staging: bcm: move extern declaration from Bcmchar.c file into headers.h file reported by checkpatch.pl tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0fcc359c1204f3e3871307b726aa686049fa2f18
Author: Kevin McKinney <kmckinney@MegaMachine.(none)>
Date:   Tue Aug 9 20:44:48 2011 -0400

    Staging: bcm: Fix error reported by checkpatch.pl
    This patch removes the following warning reported by checkpatch.pl:
    externs should be avoided in .c files
    Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx>

diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h
index 947d063..da47db8 100644
--- a/drivers/staging/bcm/headers.h
+++ b/drivers/staging/bcm/headers.h
@@ -74,4 +74,6 @@
 #define DRV_VERSION	VER_FILEVERSION_STR
 #define PFX		DRV_NAME " "

+extern struct class *bcm_class;
+
 #endif
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux