Commit 472e374161bc00d392e1755fe9915f42b11e310f
Exists in
master
and in
13 other branches
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
Pull m68k fixes from Greg Ungerer: "Just a couple of fixes. Clean up compile warnings by using correct types in function args, and clean out the removed CONFIG_MTD_PARTITIONS" * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: m68knommu: fix arg types for outs* functions m68k : Kill CONFIG_MTD_PARTITIONS
Showing 7 changed files Side-by-side Diff
arch/m68k/configs/m5208evb_defconfig
arch/m68k/configs/m5249evb_defconfig
arch/m68k/configs/m5272c3_defconfig
arch/m68k/configs/m5275evb_defconfig
arch/m68k/configs/m5307c3_defconfig
arch/m68k/configs/m5407c3_defconfig
arch/m68k/include/asm/io_no.h
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | #define __raw_writew writew |
56 | 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 | 60 | volatile unsigned char *ap = (volatile unsigned char *) addr; |
61 | 61 | unsigned char *bp = (unsigned char *) buf; |
... | ... | @@ -63,7 +63,7 @@ |
63 | 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 | 68 | volatile unsigned short *ap = (volatile unsigned short *) addr; |
69 | 69 | unsigned short *bp = (unsigned short *) buf; |
... | ... | @@ -71,7 +71,7 @@ |
71 | 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 | 76 | volatile unsigned int *ap = (volatile unsigned int *) addr; |
77 | 77 | unsigned int *bp = (unsigned int *) buf; |