diff options
author | Artur Artamonov <freeartman@wechall.net> | 2013-07-18 16:47:25 +0300 |
---|---|---|
committer | Artur Artamonov <freeartman@wechall.net> | 2013-07-18 16:47:25 +0300 |
commit | cdb691fe07b833808f90c9b214725b22f1644bf6 (patch) | |
tree | 1fbc0775cd591859de6412ebd9ebc3b9488abaf6 | |
parent | 4d6099489e3d20c0ed5ec9b70accd821839ecdfd (diff) |
gpio_rtl8196c now dont show debuginfo
-rw-r--r-- | package/gpio_rtl8196c/src/gpio_rtl8196c.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/gpio_rtl8196c/src/gpio_rtl8196c.c b/package/gpio_rtl8196c/src/gpio_rtl8196c.c index 3babfa484..c2aae8d67 100644 --- a/package/gpio_rtl8196c/src/gpio_rtl8196c.c +++ b/package/gpio_rtl8196c/src/gpio_rtl8196c.c @@ -17,7 +17,11 @@ //DEBUG macroses #define MOD_NAME "gpio_rtl8196c" -#define PRINT( format, args ...) printk( "%15s:%3d = " format, MOD_NAME,__LINE__, ##args) +#ifdef DEBUG + #define PRINT( format, args ...) printk( "%15s:%3d = " format, MOD_NAME,__LINE__, ##args) +#else + #define PRINT( format, args ...) ; +#endif //////////////////////////////////////////////////////////////////////// #define RTL8196C_BASE_ADDR 0xb8000000 |