DEBUG: disable some more debugging stuff
/drivers/misc/sec_misc.c
blob:f2daaa0a23b7e567f8dce3d66ea1450b2b01d586 -> blob:d685cfc4fd82fb5ff7af2b1533a37197c470191e
--- drivers/misc/sec_misc.c
+++ drivers/misc/sec_misc.c
@@ -32,7 +32,7 @@
#include <linux/blkdev.h>
#include <mach/gpio.h>
#include <linux/sec_param.h>
-#include <mach/sec_debug.h>
+//#include <mach/sec_debug.h>
#define MOVINAND_CHECKSUM
#define RORY_CONTROL
@@ -133,6 +133,7 @@ static DEVICE_ATTR(rory_control, S_IRUGO
rory_control_show, rory_control_store);
#endif /*RORY_CONTROL*/
+/*#ifdef CONFIG_SEC_DEBUG
static unsigned int convert_debug_level_str(const char *str)
{
if (strncasecmp(str, "0xA0A0", 6) == 0)
@@ -191,6 +192,7 @@ static ssize_t debug_level_store(struct
static DEVICE_ATTR(debug_level, S_IRUGO | S_IWUSR ,
debug_level_show, debug_level_store);
+#endif*/
#if defined(CONFIG_MACH_APEXQ) || defined(CONFIG_MACH_AEGIS2)
static ssize_t slideCount_show
@@ -225,7 +227,9 @@ static struct device_attribute *sec_misc
&dev_attr_emmc_checksum_done,
&dev_attr_emmc_checksum_pass,
&dev_attr_rory_control,
+/*#ifdef CONFIG_SEC_DEBUG
&dev_attr_debug_level,
+#endif*/
#if defined(CONFIG_MACH_APEXQ) || defined(CONFIG_MACH_AEGIS2)
&dev_attr_slideCount,
#endif