summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/doc1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/doc1000.c')
-rw-r--r--drivers/mtd/doc1000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/doc1000.c b/drivers/mtd/doc1000.c
index 3b288b129..ce1b6fdd8 100644
--- a/drivers/mtd/doc1000.c
+++ b/drivers/mtd/doc1000.c
@@ -14,6 +14,7 @@
======================================================================*/
+#include <linux/config.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/types.h>
@@ -91,7 +92,7 @@ static inline int check_write(volatile u_char *addr);
static inline void block_erase (volatile u_char *addr);
static inline int check_erase(volatile u_char *addr);
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#warning This is definitely not SMP safe. Lock the paging mechanism.
#endif