diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-23 11:25:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:40 -0400 |
commit | bb72f1f729dcbd6a6a93c74479eeaa19deebfb47 (patch) | |
tree | 2432e241d81a63192dc2441f5fa95770f13a12df /include/asm-mips | |
parent | c49f91f51e3cca796494f69fd967a7f72df5d457 (diff) |
[MIPS] TXx9: Random cleanup
* Random cleanups spotted by checkpatch script.
* Do not initialize panic_timeout. "panic=" kernel parameter can be used.
* Do not add "ip=any" or "ip=bootp". This options is not board specific.
* Do not add "root=/dev/nfs". This is default on CONFIG_ROOT_NFS.
* Kill unused error checking.
* Fix IRQ comment to match current code.
* Kill some unneeded includes
* ST0_ERL is already cleared in generic code.
* conswitchp is initialized generic code.
* __init is not needed in prototype.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/txx9/smsc_fdc37m81x.h | 2 | ||||
-rw-r--r-- | include/asm-mips/txx9/tx3927.h | 4 | ||||
-rw-r--r-- | include/asm-mips/txx9/tx4927pcic.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-mips/txx9/smsc_fdc37m81x.h b/include/asm-mips/txx9/smsc_fdc37m81x.h index 9375e4fc2289..02e161d0755d 100644 --- a/include/asm-mips/txx9/smsc_fdc37m81x.h +++ b/include/asm-mips/txx9/smsc_fdc37m81x.h | |||
@@ -56,7 +56,7 @@ | |||
56 | #define SMSC_FDC37M81X_CONFIG_EXIT 0xaa | 56 | #define SMSC_FDC37M81X_CONFIG_EXIT 0xaa |
57 | #define SMSC_FDC37M81X_CHIP_ID 0x4d | 57 | #define SMSC_FDC37M81X_CHIP_ID 0x4d |
58 | 58 | ||
59 | unsigned long __init smsc_fdc37m81x_init(unsigned long port); | 59 | unsigned long smsc_fdc37m81x_init(unsigned long port); |
60 | 60 | ||
61 | void smsc_fdc37m81x_config_beg(void); | 61 | void smsc_fdc37m81x_config_beg(void); |
62 | 62 | ||
diff --git a/include/asm-mips/txx9/tx3927.h b/include/asm-mips/txx9/tx3927.h index 0bac37f758ec..f0439a73b3aa 100644 --- a/include/asm-mips/txx9/tx3927.h +++ b/include/asm-mips/txx9/tx3927.h | |||
@@ -333,8 +333,8 @@ void tx3927_setup(void); | |||
333 | void tx3927_time_init(unsigned int evt_tmrnr, unsigned int src_tmrnr); | 333 | void tx3927_time_init(unsigned int evt_tmrnr, unsigned int src_tmrnr); |
334 | void tx3927_setup_serial(unsigned int cts_mask); | 334 | void tx3927_setup_serial(unsigned int cts_mask); |
335 | struct pci_controller; | 335 | struct pci_controller; |
336 | void __init tx3927_pcic_setup(struct pci_controller *channel, | 336 | void tx3927_pcic_setup(struct pci_controller *channel, |
337 | unsigned long sdram_size, int extarb); | 337 | unsigned long sdram_size, int extarb); |
338 | void tx3927_setup_pcierr_irq(void); | 338 | void tx3927_setup_pcierr_irq(void); |
339 | void tx3927_irq_init(void); | 339 | void tx3927_irq_init(void); |
340 | 340 | ||
diff --git a/include/asm-mips/txx9/tx4927pcic.h b/include/asm-mips/txx9/tx4927pcic.h index 223841c56131..c470b8a5fe57 100644 --- a/include/asm-mips/txx9/tx4927pcic.h +++ b/include/asm-mips/txx9/tx4927pcic.h | |||
@@ -193,8 +193,8 @@ struct tx4927_pcic_reg { | |||
193 | 193 | ||
194 | struct tx4927_pcic_reg __iomem *get_tx4927_pcicptr( | 194 | struct tx4927_pcic_reg __iomem *get_tx4927_pcicptr( |
195 | struct pci_controller *channel); | 195 | struct pci_controller *channel); |
196 | void __init tx4927_pcic_setup(struct tx4927_pcic_reg __iomem *pcicptr, | 196 | void tx4927_pcic_setup(struct tx4927_pcic_reg __iomem *pcicptr, |
197 | struct pci_controller *channel, int extarb); | 197 | struct pci_controller *channel, int extarb); |
198 | void tx4927_report_pcic_status(void); | 198 | void tx4927_report_pcic_status(void); |
199 | char *tx4927_pcibios_setup(char *str); | 199 | char *tx4927_pcibios_setup(char *str); |
200 | void tx4927_dump_pcic_settings(void); | 200 | void tx4927_dump_pcic_settings(void); |