diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-07 09:40:05 -0500 |
commit | 123656d4cc8c946f578ebd18c2050f5251720428 (patch) | |
tree | 3d5432eff034a3b9cfdc98b37e245abe5695342d /include/linux/parport_pc.h | |
parent | a62c80e559809e6c7851ec04d30575e85ad6f6ed (diff) | |
parent | 0aec63e67c69545ca757a73a66f5dcf05fa484bf (diff) |
Merge with Linus' kernel.
Diffstat (limited to 'include/linux/parport_pc.h')
-rw-r--r-- | include/linux/parport_pc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/parport_pc.h b/include/linux/parport_pc.h index c6f762470879..1cc0f6b1a49a 100644 --- a/include/linux/parport_pc.h +++ b/include/linux/parport_pc.h | |||
@@ -79,13 +79,13 @@ static __inline__ unsigned char parport_pc_read_data(struct parport *p) | |||
79 | } | 79 | } |
80 | 80 | ||
81 | #ifdef DEBUG_PARPORT | 81 | #ifdef DEBUG_PARPORT |
82 | extern __inline__ void dump_parport_state (char *str, struct parport *p) | 82 | static inline void dump_parport_state (char *str, struct parport *p) |
83 | { | 83 | { |
84 | /* here's hoping that reading these ports won't side-effect anything underneath */ | 84 | /* here's hoping that reading these ports won't side-effect anything underneath */ |
85 | unsigned char ecr = inb (ECONTROL (p)); | 85 | unsigned char ecr = inb (ECONTROL (p)); |
86 | unsigned char dcr = inb (CONTROL (p)); | 86 | unsigned char dcr = inb (CONTROL (p)); |
87 | unsigned char dsr = inb (STATUS (p)); | 87 | unsigned char dsr = inb (STATUS (p)); |
88 | static char *ecr_modes[] = {"SPP", "PS2", "PPFIFO", "ECP", "xXx", "yYy", "TST", "CFG"}; | 88 | static const char *const ecr_modes[] = {"SPP", "PS2", "PPFIFO", "ECP", "xXx", "yYy", "TST", "CFG"}; |
89 | const struct parport_pc_private *priv = p->physport->private_data; | 89 | const struct parport_pc_private *priv = p->physport->private_data; |
90 | int i; | 90 | int i; |
91 | 91 | ||