diff options
author | Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> | 2007-01-18 13:50:05 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 15:50:06 -0800 |
commit | c54c18790700b8b2a503945d729aa425c25691fe (patch) | |
tree | 90061bba5831aa5112afb08fc2fc89f32582078b /include/linux/msi.h | |
parent | 8255cf35d503db7c1b26ae53b6b7f23ada82316f (diff) | |
download | op-kernel-dev-c54c18790700b8b2a503945d729aa425c25691fe.zip op-kernel-dev-c54c18790700b8b2a503945d729aa425c25691fe.tar.gz |
PCI: cleanup MSI code
Cleanup MSI code as follows:
- fix some types
- fix strange local variable definition
- delete unnecessary blank line
- add comment to #endif which is far from corresponding #ifdef
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r-- | include/linux/msi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h index c7ef943..b99976b 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -7,11 +7,10 @@ struct msi_msg { u32 data; /* 16 bits of msi message data */ }; -/* Heper functions */ +/* Helper functions */ extern void mask_msi_irq(unsigned int irq); extern void unmask_msi_irq(unsigned int irq); extern void read_msi_msg(unsigned int irq, struct msi_msg *msg); - extern void write_msi_msg(unsigned int irq, struct msi_msg *msg); struct msi_desc { |