]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/bcm/Debug.c
staging: Use static const char * const where possible
[net-next-2.6.git] / drivers / staging / bcm / Debug.c
index 213f4bcc5dfc70d3214f9149c8a031ef35f975fa..d01eb120500acfbdbac93d1066e21ba99cc7b7c0 100644 (file)
@@ -1,12 +1,13 @@
 #include "headers.h"
 
-char *buff_dump_base[]={"DEC", "HEX",  "OCT", "BIN"    };
-
 static UINT current_debug_level=BCM_SCREAM;
 
 int bcm_print_buffer( UINT debug_level, const char *function_name,
                                  char *file_name, int line_number, unsigned char *buffer, int bufferlen, unsigned int base)
 {
+       static const char * const buff_dump_base[] = {
+               "DEC", "HEX", "OCT", "BIN"
+       };
        if(debug_level>=current_debug_level)
        {
                int i=0;