aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-cris/arch-v32/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/arch-v32/io.h b/include/asm-cris/arch-v32/io.h
index 6b38912f29ba..72024452cea9 100644
--- a/include/asm-cris/arch-v32/io.h
+++ b/include/asm-cris/arch-v32/io.h
@@ -43,7 +43,7 @@ extern struct crisv32_iopin crisv32_led_net1_red;
43 43
44static inline void crisv32_io_set(struct crisv32_iopin *iopin, int val) 44static inline void crisv32_io_set(struct crisv32_iopin *iopin, int val)
45{ 45{
46 long flags; 46 unsigned long flags;
47 spin_lock_irqsave(&iopin->port->lock, flags); 47 spin_lock_irqsave(&iopin->port->lock, flags);
48 48
49 if (val) 49 if (val)
@@ -57,7 +57,7 @@ static inline void crisv32_io_set(struct crisv32_iopin *iopin, int val)
57static inline void crisv32_io_set_dir(struct crisv32_iopin* iopin, 57static inline void crisv32_io_set_dir(struct crisv32_iopin* iopin,
58 enum crisv32_io_dir dir) 58 enum crisv32_io_dir dir)
59{ 59{
60 long flags; 60 unsigned long flags;
61 spin_lock_irqsave(&iopin->port->lock, flags); 61 spin_lock_irqsave(&iopin->port->lock, flags);
62 62
63 if (dir == crisv32_io_dir_in) 63 if (dir == crisv32_io_dir_in)