diff options
-rw-r--r-- | drivers/staging/android/ram_console.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/android/ram_console.c b/drivers/staging/android/ram_console.c index 2918bc19f294..ce140ffc54ea 100644 --- a/drivers/staging/android/ram_console.c +++ b/drivers/staging/android/ram_console.c | |||
@@ -85,6 +85,10 @@ static int __init ram_console_module_init(void) | |||
85 | return platform_driver_probe(&ram_console_driver, ram_console_probe); | 85 | return platform_driver_probe(&ram_console_driver, ram_console_probe); |
86 | } | 86 | } |
87 | 87 | ||
88 | #ifndef CONFIG_PRINTK | ||
89 | #define dmesg_restrict 0 | ||
90 | #endif | ||
91 | |||
88 | static ssize_t ram_console_read_old(struct file *file, char __user *buf, | 92 | static ssize_t ram_console_read_old(struct file *file, char __user *buf, |
89 | size_t len, loff_t *offset) | 93 | size_t len, loff_t *offset) |
90 | { | 94 | { |