Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9292
b: refs/heads/master
c: 6b9ea42
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Sep 24, 2005
1 parent 7374ca3 commit 526e138
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e55b57a6000ff05f6aadcddf204ecb42749a332
refs/heads/master: 6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9
6 changes: 3 additions & 3 deletions trunk/arch/arm/kernel/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Copy data from IO memory space to "real" memory space.
* This needs to be optimized.
*/
void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
void _memcpy_fromio(void *to, void __iomem *from, size_t count)
{
unsigned char *t = to;
while (count) {
Expand All @@ -22,7 +22,7 @@ void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
* Copy data from "real" memory space to IO memory space.
* This needs to be optimized.
*/
void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
void _memcpy_toio(void __iomem *to, const void *from, size_t count)
{
const unsigned char *f = from;
while (count) {
Expand All @@ -37,7 +37,7 @@ void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
* "memset" on IO memory space.
* This needs to be optimized.
*/
void _memset_io(volatile void __iomem *dst, int c, size_t count)
void _memset_io(void __iomem *dst, int c, size_t count)
{
while (count) {
count--;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ static struct input_device_id *input_match_device(struct input_device_id *id, st
MATCH_BIT(ledbit, LED_MAX);
MATCH_BIT(sndbit, SND_MAX);
MATCH_BIT(ffbit, FF_MAX);
MATCH_BIT(swbit, SW_MAX);

return id;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/mfd/ucb1x00-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ struct ucb1x00_ts {
u16 x_res;
u16 y_res;

int restart:1;
int adcsync:1;
unsigned int restart:1;
unsigned int adcsync:1;
};

static int adcsync;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/clps711x.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static irqreturn_t clps711xuart_int_rx(int irq, void *dev_id, struct pt_regs *re
{
struct uart_port *port = dev_id;
struct tty_struct *tty = port->info->tty;
unsigned int status, ch, flg;
unsigned int status, ch, flg, ignored = 0;

status = clps_readl(SYSFLG(port));
while (!(status & SYSFLG_URXFE)) {
Expand Down
6 changes: 3 additions & 3 deletions trunk/include/asm-arm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ extern void __readwrite_bug(const char *fn);
/*
* String version of IO memory access ops:
*/
extern void _memcpy_fromio(void *, const volatile void __iomem *, size_t);
extern void _memcpy_toio(volatile void __iomem *, const void *, size_t);
extern void _memset_io(volatile void __iomem *, int, size_t);
extern void _memcpy_fromio(void *, void __iomem *, size_t);
extern void _memcpy_toio(void __iomem *, const void *, size_t);
extern void _memset_io(void __iomem *, int, size_t);

#define mmiowb()

Expand Down

0 comments on commit 526e138

Please sign in to comment.