diff options
Diffstat (limited to 'include/asm-cris/arch-v32/io.h')
-rw-r--r-- | include/asm-cris/arch-v32/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-cris/arch-v32/io.h b/include/asm-cris/arch-v32/io.h index 4c80263ec634..043c9ce5294e 100644 --- a/include/asm-cris/arch-v32/io.h +++ b/include/asm-cris/arch-v32/io.h | |||
@@ -35,7 +35,7 @@ extern struct crisv32_iopin crisv32_led2_red; | |||
35 | extern struct crisv32_iopin crisv32_led3_green; | 35 | extern struct crisv32_iopin crisv32_led3_green; |
36 | extern struct crisv32_iopin crisv32_led3_red; | 36 | extern struct crisv32_iopin crisv32_led3_red; |
37 | 37 | ||
38 | extern inline void crisv32_io_set(struct crisv32_iopin* iopin, | 38 | static inline void crisv32_io_set(struct crisv32_iopin* iopin, |
39 | int val) | 39 | int val) |
40 | { | 40 | { |
41 | if (val) | 41 | if (val) |
@@ -44,7 +44,7 @@ extern inline void crisv32_io_set(struct crisv32_iopin* iopin, | |||
44 | *iopin->port->data &= ~iopin->bit; | 44 | *iopin->port->data &= ~iopin->bit; |
45 | } | 45 | } |
46 | 46 | ||
47 | extern inline void crisv32_io_set_dir(struct crisv32_iopin* iopin, | 47 | static inline void crisv32_io_set_dir(struct crisv32_iopin* iopin, |
48 | enum crisv32_io_dir dir) | 48 | enum crisv32_io_dir dir) |
49 | { | 49 | { |
50 | if (dir == crisv32_io_dir_in) | 50 | if (dir == crisv32_io_dir_in) |
@@ -53,7 +53,7 @@ extern inline void crisv32_io_set_dir(struct crisv32_iopin* iopin, | |||
53 | *iopin->port->oe |= iopin->bit; | 53 | *iopin->port->oe |= iopin->bit; |
54 | } | 54 | } |
55 | 55 | ||
56 | extern inline int crisv32_io_rd(struct crisv32_iopin* iopin) | 56 | static inline int crisv32_io_rd(struct crisv32_iopin* iopin) |
57 | { | 57 | { |
58 | return ((*iopin->port->data_in & iopin->bit) ? 1 : 0); | 58 | return ((*iopin->port->data_in & iopin->bit) ? 1 : 0); |
59 | } | 59 | } |