]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/nslu2-kernel/2.6.14/15-ixp4xx-writesb-l-w.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / nslu2-kernel / 2.6.14 / 15-ixp4xx-writesb-l-w.patch
1 # The inline caller of these APIs were changed to have
2 # const vaddr parameters...
3 --- linux-2.6.13/include/asm-arm/arch-ixp4xx/io.h.orig  2005-09-24 17:06:19.968099976 -0700
4 +++ linux-2.6.13/include/asm-arm/arch-ixp4xx/io.h       2005-09-24 17:06:52.542149731 -0700
5 @@ -113,7 +113,7 @@
6  }
7  
8  static inline void
9 -__ixp4xx_writesb(u32 bus_addr, u8 *vaddr, int count)
10 +__ixp4xx_writesb(u32 bus_addr, const u8 *vaddr, int count)
11  {
12         while (count--)
13                 writeb(*vaddr++, bus_addr);
14 @@ -136,7 +136,7 @@
15  }
16  
17  static inline void
18 -__ixp4xx_writesw(u32 bus_addr, u16 *vaddr, int count)
19 +__ixp4xx_writesw(u32 bus_addr, const u16 *vaddr, int count)
20  {
21         while (count--)
22                 writew(*vaddr++, bus_addr);
23 @@ -154,7 +154,7 @@
24  }
25  
26  static inline void
27 -__ixp4xx_writesl(u32 bus_addr, u32 *vaddr, int count)
28 +__ixp4xx_writesl(u32 bus_addr, const u32 *vaddr, int count)
29  {
30         while (count--)
31                 writel(*vaddr++, bus_addr);