aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-13 21:23:57 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-16 13:02:37 -0700
commit03a6cddbb81a9de87b40b1d528397a160269264e (patch)
treedc2e9a3a396d55bd6beb3cbd947c3fff7a48b6a0 /drivers/staging/bcm
parenta09eae8550c135a70dda507b5757aac1341b9b44 (diff)
downloadkernel_samsung_smdk4412-03a6cddbb81a9de87b40b1d528397a160269264e.zip
kernel_samsung_smdk4412-03a6cddbb81a9de87b40b1d528397a160269264e.tar.gz
kernel_samsung_smdk4412-03a6cddbb81a9de87b40b1d528397a160269264e.tar.bz2
staging: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/Debug.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Debug.c b/drivers/staging/bcm/Debug.c
index 213f4bc..d01eb12 100644
--- a/drivers/staging/bcm/Debug.c
+++ b/drivers/staging/bcm/Debug.c
@@ -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;