Commit 5e75e86e authored by Bill Pemberton's avatar Bill Pemberton Committed by Artem Bityutskiy

mtd: remove use of __devinitconst

CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 042a1909
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); }) #define pr_devinit(fmt, args...) ({ static const char __fmt[] = fmt; printk(__fmt, ## args); })
#define DRIVER_NAME "bfin-async-flash" #define DRIVER_NAME "bfin-async-flash"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/types.h> #include <linux/types.h>
#define pr_devinit(fmt, args...) ({ static const __devinitconst char __fmt[] = fmt; printk(__fmt, ## args); }) #define pr_devinit(fmt, args...) ({ static const char __fmt[] = fmt; printk(__fmt, ## args); })
#define DRIVER_NAME "gpio-addr-flash" #define DRIVER_NAME "gpio-addr-flash"
#define PFX DRIVER_NAME ": " #define PFX DRIVER_NAME ": "
......
...@@ -45,7 +45,7 @@ struct ltq_mtd { ...@@ -45,7 +45,7 @@ struct ltq_mtd {
}; };
static const char ltq_map_name[] = "ltq_nor"; static const char ltq_map_name[] = "ltq_nor";
static const char *ltq_probe_types[] __devinitconst = { static const char *ltq_probe_types[] = {
"cmdlinepart", "ofpart", NULL }; "cmdlinepart", "ofpart", NULL };
static map_word static map_word
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment