]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/vt-d: Mark functions as static in intel_irq_remapping.c
authorRashika Kheria <rashika.kheria@gmail.com>
Wed, 18 Dec 2013 06:34:27 +0000 (12:04 +0530)
committerJoerg Roedel <joro@8bytes.org>
Mon, 30 Dec 2013 14:37:01 +0000 (15:37 +0100)
commit6a7885c49b5b79c6e2e73db6fd9db9051b4a28f9
tree8daf7cbad1f5e9ec85e206b71e4536b2fb357c8c
parent21004dcd3ba25163d620eddc703185cd50c89a93
iommu/vt-d: Mark functions as static in intel_irq_remapping.c

Mark functions int get_irte() and ir_dev_scope_init() as static in
intel_irq_remapping.c because they are not used outside this file.

This eliminates the following warnings in intel_irq_remapping.c:
drivers/iommu/intel_irq_remapping.c:49:5: warning: no previous prototype for ‘get_irte’ [-Wmissing-prototypes]
drivers/iommu/intel_irq_remapping.c:810:12: warning: no previous prototype for ‘ir_dev_scope_init’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel_irq_remapping.c