diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-18 06:06:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:26 -0400 |
commit | 65f76a82ec7a0374fad85211535330e203740475 (patch) | |
tree | 351838854d96086ee86e4daaaf64dbd9c0264b30 /include | |
parent | 1c0a387c1f9e48e480579d3b4e0f9c1a36c77751 (diff) |
Char: cyclades, fix some -W warnings
Most of them are signedness, the rest unused function parameters.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cyclades.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index 06b272590776..8f3dcd30828f 100644 --- a/include/linux/cyclades.h +++ b/include/linux/cyclades.h | |||
@@ -512,11 +512,11 @@ struct cyclades_card { | |||
512 | void __iomem *base_addr; | 512 | void __iomem *base_addr; |
513 | void __iomem *ctl_addr; | 513 | void __iomem *ctl_addr; |
514 | int irq; | 514 | int irq; |
515 | int num_chips; /* 0 if card absent, -1 if Z/PCI, else Y */ | 515 | unsigned int num_chips; /* 0 if card absent, -1 if Z/PCI, else Y */ |
516 | int first_line; /* minor number of first channel on card */ | 516 | unsigned int first_line; /* minor number of first channel on card */ |
517 | int nports; /* Number of ports in the card */ | 517 | unsigned int nports; /* Number of ports in the card */ |
518 | int bus_index; /* address shift - 0 for ISA, 1 for PCI */ | 518 | int bus_index; /* address shift - 0 for ISA, 1 for PCI */ |
519 | int intr_enabled; /* FW Interrupt flag - 0 disabled, 1 enabled */ | 519 | int intr_enabled; /* FW Interrupt flag - 0 disabled, 1 enabled */ |
520 | spinlock_t card_lock; | 520 | spinlock_t card_lock; |
521 | struct cyclades_port *ports; | 521 | struct cyclades_port *ports; |
522 | }; | 522 | }; |
@@ -566,7 +566,7 @@ struct cyclades_port { | |||
566 | int rtsdtr_inv; | 566 | int rtsdtr_inv; |
567 | int chip_rev; | 567 | int chip_rev; |
568 | int custom_divisor; | 568 | int custom_divisor; |
569 | int x_char; /* to be pushed out ASAP */ | 569 | u8 x_char; /* to be pushed out ASAP */ |
570 | int close_delay; | 570 | int close_delay; |
571 | unsigned short closing_wait; | 571 | unsigned short closing_wait; |
572 | int count; /* # of fd on device */ | 572 | int count; /* # of fd on device */ |