Browse Source

staging: cxt1e1: Add extern keyword for sparse 'static' warning

Resolve sparse "warning: symbol '...' was not declared.  Should it be static?"
messages.  Includes "comet_tables.h", which contains extern declarations for
the variables defined in comet_tables.c.

Signed-off-by: Shaun Laing <shaun@xresource.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Shaun Laing 11 năm trước cách đây
mục cha
commit
553a518931
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/staging/cxt1e1/comet_tables.c

+ 1 - 0
drivers/staging/cxt1e1/comet_tables.c

@@ -19,6 +19,7 @@
  */
 
 #include <linux/types.h>
+#include "comet_tables.h"
 
 /*****************************************************************************
 *