diff options
-rw-r--r-- | arch/m68k/configs/m5208evb_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/configs/m5249evb_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/configs/m5272c3_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/configs/m5275evb_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/configs/m5307c3_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/configs/m5407c3_defconfig | 1 | ||||
-rw-r--r-- | arch/m68k/include/asm/io_no.h | 6 |
7 files changed, 3 insertions, 9 deletions
diff --git a/arch/m68k/configs/m5208evb_defconfig b/arch/m68k/configs/m5208evb_defconfig index c1616824e201..e7292f460af4 100644 --- a/arch/m68k/configs/m5208evb_defconfig +++ b/arch/m68k/configs/m5208evb_defconfig | |||
@@ -40,7 +40,6 @@ CONFIG_INET=y | |||
40 | # CONFIG_IPV6 is not set | 40 | # CONFIG_IPV6 is not set |
41 | # CONFIG_FW_LOADER is not set | 41 | # CONFIG_FW_LOADER is not set |
42 | CONFIG_MTD=y | 42 | CONFIG_MTD=y |
43 | CONFIG_MTD_PARTITIONS=y | ||
44 | CONFIG_MTD_CHAR=y | 43 | CONFIG_MTD_CHAR=y |
45 | CONFIG_MTD_BLOCK=y | 44 | CONFIG_MTD_BLOCK=y |
46 | CONFIG_MTD_RAM=y | 45 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/configs/m5249evb_defconfig b/arch/m68k/configs/m5249evb_defconfig index a6599e42facf..0cd4b39f325b 100644 --- a/arch/m68k/configs/m5249evb_defconfig +++ b/arch/m68k/configs/m5249evb_defconfig | |||
@@ -38,7 +38,6 @@ CONFIG_INET=y | |||
38 | # CONFIG_IPV6 is not set | 38 | # CONFIG_IPV6 is not set |
39 | # CONFIG_FW_LOADER is not set | 39 | # CONFIG_FW_LOADER is not set |
40 | CONFIG_MTD=y | 40 | CONFIG_MTD=y |
41 | CONFIG_MTD_PARTITIONS=y | ||
42 | CONFIG_MTD_CHAR=y | 41 | CONFIG_MTD_CHAR=y |
43 | CONFIG_MTD_BLOCK=y | 42 | CONFIG_MTD_BLOCK=y |
44 | CONFIG_MTD_RAM=y | 43 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/configs/m5272c3_defconfig b/arch/m68k/configs/m5272c3_defconfig index 3fa60a57a0f9..a60cb3509135 100644 --- a/arch/m68k/configs/m5272c3_defconfig +++ b/arch/m68k/configs/m5272c3_defconfig | |||
@@ -36,7 +36,6 @@ CONFIG_INET=y | |||
36 | # CONFIG_IPV6 is not set | 36 | # CONFIG_IPV6 is not set |
37 | # CONFIG_FW_LOADER is not set | 37 | # CONFIG_FW_LOADER is not set |
38 | CONFIG_MTD=y | 38 | CONFIG_MTD=y |
39 | CONFIG_MTD_PARTITIONS=y | ||
40 | CONFIG_MTD_CHAR=y | 39 | CONFIG_MTD_CHAR=y |
41 | CONFIG_MTD_BLOCK=y | 40 | CONFIG_MTD_BLOCK=y |
42 | CONFIG_MTD_RAM=y | 41 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/configs/m5275evb_defconfig b/arch/m68k/configs/m5275evb_defconfig index a1230e82bb1e..e6502ab7cb2f 100644 --- a/arch/m68k/configs/m5275evb_defconfig +++ b/arch/m68k/configs/m5275evb_defconfig | |||
@@ -39,7 +39,6 @@ CONFIG_INET=y | |||
39 | # CONFIG_IPV6 is not set | 39 | # CONFIG_IPV6 is not set |
40 | # CONFIG_FW_LOADER is not set | 40 | # CONFIG_FW_LOADER is not set |
41 | CONFIG_MTD=y | 41 | CONFIG_MTD=y |
42 | CONFIG_MTD_PARTITIONS=y | ||
43 | CONFIG_MTD_CHAR=y | 42 | CONFIG_MTD_CHAR=y |
44 | CONFIG_MTD_BLOCK=y | 43 | CONFIG_MTD_BLOCK=y |
45 | CONFIG_MTD_RAM=y | 44 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/configs/m5307c3_defconfig b/arch/m68k/configs/m5307c3_defconfig index 43795f41f7c7..023812abd2e6 100644 --- a/arch/m68k/configs/m5307c3_defconfig +++ b/arch/m68k/configs/m5307c3_defconfig | |||
@@ -38,7 +38,6 @@ CONFIG_INET=y | |||
38 | # CONFIG_IPV6 is not set | 38 | # CONFIG_IPV6 is not set |
39 | # CONFIG_FW_LOADER is not set | 39 | # CONFIG_FW_LOADER is not set |
40 | CONFIG_MTD=y | 40 | CONFIG_MTD=y |
41 | CONFIG_MTD_PARTITIONS=y | ||
42 | CONFIG_MTD_CHAR=y | 41 | CONFIG_MTD_CHAR=y |
43 | CONFIG_MTD_BLOCK=y | 42 | CONFIG_MTD_BLOCK=y |
44 | CONFIG_MTD_RAM=y | 43 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/configs/m5407c3_defconfig b/arch/m68k/configs/m5407c3_defconfig index 72746c57a571..557b39f3be90 100644 --- a/arch/m68k/configs/m5407c3_defconfig +++ b/arch/m68k/configs/m5407c3_defconfig | |||
@@ -38,7 +38,6 @@ CONFIG_INET=y | |||
38 | # CONFIG_IPV6 is not set | 38 | # CONFIG_IPV6 is not set |
39 | # CONFIG_FW_LOADER is not set | 39 | # CONFIG_FW_LOADER is not set |
40 | CONFIG_MTD=y | 40 | CONFIG_MTD=y |
41 | CONFIG_MTD_PARTITIONS=y | ||
42 | CONFIG_MTD_CHAR=y | 41 | CONFIG_MTD_CHAR=y |
43 | CONFIG_MTD_BLOCK=y | 42 | CONFIG_MTD_BLOCK=y |
44 | CONFIG_MTD_RAM=y | 43 | CONFIG_MTD_RAM=y |
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index e1534783e94e..52f7e8499172 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h | |||
@@ -55,7 +55,7 @@ static inline unsigned int _swapl(volatile unsigned long v) | |||
55 | #define __raw_writew writew | 55 | #define __raw_writew writew |
56 | #define __raw_writel writel | 56 | #define __raw_writel writel |
57 | 57 | ||
58 | static inline void io_outsb(unsigned int addr, void *buf, int len) | 58 | static inline void io_outsb(unsigned int addr, const void *buf, int len) |
59 | { | 59 | { |
60 | volatile unsigned char *ap = (volatile unsigned char *) addr; | 60 | volatile unsigned char *ap = (volatile unsigned char *) addr; |
61 | unsigned char *bp = (unsigned char *) buf; | 61 | unsigned char *bp = (unsigned char *) buf; |
@@ -63,7 +63,7 @@ static inline void io_outsb(unsigned int addr, void *buf, int len) | |||
63 | *ap = *bp++; | 63 | *ap = *bp++; |
64 | } | 64 | } |
65 | 65 | ||
66 | static inline void io_outsw(unsigned int addr, void *buf, int len) | 66 | static inline void io_outsw(unsigned int addr, const void *buf, int len) |
67 | { | 67 | { |
68 | volatile unsigned short *ap = (volatile unsigned short *) addr; | 68 | volatile unsigned short *ap = (volatile unsigned short *) addr; |
69 | unsigned short *bp = (unsigned short *) buf; | 69 | unsigned short *bp = (unsigned short *) buf; |
@@ -71,7 +71,7 @@ static inline void io_outsw(unsigned int addr, void *buf, int len) | |||
71 | *ap = _swapw(*bp++); | 71 | *ap = _swapw(*bp++); |
72 | } | 72 | } |
73 | 73 | ||
74 | static inline void io_outsl(unsigned int addr, void *buf, int len) | 74 | static inline void io_outsl(unsigned int addr, const void *buf, int len) |
75 | { | 75 | { |
76 | volatile unsigned int *ap = (volatile unsigned int *) addr; | 76 | volatile unsigned int *ap = (volatile unsigned int *) addr; |
77 | unsigned int *bp = (unsigned int *) buf; | 77 | unsigned int *bp = (unsigned int *) buf; |