]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/oprofile/op_counter.h
Fix compile warning in kernel/params.c
[linux-2.6-omap-h63xx.git] / arch / arm / oprofile / op_counter.h
index 153c1d467f24adb02c68ace8c0b58077e5e0e056..ca942a63b52fecba064c03b2a38aa4d397a7d779 100644 (file)
@@ -10,8 +10,6 @@
 #ifndef OP_COUNTER_H
 #define OP_COUNTER_H
 
-#define OP_MAX_COUNTER 5
-
 /* Per performance monitor configuration as set via
  * oprofilefs.
  */
@@ -24,6 +22,6 @@ struct op_counter_config {
        unsigned long user;
 };
 
-extern struct op_counter_config counter_config[];
+extern struct op_counter_config *counter_config;
 
 #endif /* OP_COUNTER_H */