| .. | .. |
|---|
| 384 | 384 | } \ |
|---|
| 385 | 385 | } while (0) |
|---|
| 386 | 386 | |
|---|
| 387 | | -__EXTERN_INLINE unsigned int apecs_ioread8(void __iomem *xaddr) |
|---|
| 387 | +__EXTERN_INLINE unsigned int apecs_ioread8(const void __iomem *xaddr) |
|---|
| 388 | 388 | { |
|---|
| 389 | 389 | unsigned long addr = (unsigned long) xaddr; |
|---|
| 390 | 390 | unsigned long result, base_and_type; |
|---|
| .. | .. |
|---|
| 420 | 420 | *(vuip) ((addr << 5) + base_and_type) = w; |
|---|
| 421 | 421 | } |
|---|
| 422 | 422 | |
|---|
| 423 | | -__EXTERN_INLINE unsigned int apecs_ioread16(void __iomem *xaddr) |
|---|
| 423 | +__EXTERN_INLINE unsigned int apecs_ioread16(const void __iomem *xaddr) |
|---|
| 424 | 424 | { |
|---|
| 425 | 425 | unsigned long addr = (unsigned long) xaddr; |
|---|
| 426 | 426 | unsigned long result, base_and_type; |
|---|
| .. | .. |
|---|
| 456 | 456 | *(vuip) ((addr << 5) + base_and_type) = w; |
|---|
| 457 | 457 | } |
|---|
| 458 | 458 | |
|---|
| 459 | | -__EXTERN_INLINE unsigned int apecs_ioread32(void __iomem *xaddr) |
|---|
| 459 | +__EXTERN_INLINE unsigned int apecs_ioread32(const void __iomem *xaddr) |
|---|
| 460 | 460 | { |
|---|
| 461 | 461 | unsigned long addr = (unsigned long) xaddr; |
|---|
| 462 | 462 | if (addr < APECS_DENSE_MEM) |
|---|