x86: amd_iommu_init.c: iommu_enable and iommu_enable_event_logging should be static
authorJaswinder Singh Rajput <jaswinder@infradead.org>
Mon, 29 Dec 2008 16:14:12 +0000 (21:44 +0530)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 30 Dec 2008 06:08:12 +0000 (22:08 -0800)
commit412a1be265b894a45cebbfc2b57eb7a593bf34b2
treede90b71a5240dd02cdd0536dceaef3f6cc8f3aa8
parent824877111cd7f2b4fd2fe6947c5c5cbbb3ac5bd8
x86: amd_iommu_init.c: iommu_enable and iommu_enable_event_logging should be static

Impact: cleanup, reduce kernel size a bit, avoid sparse warning

Fixes sparse warning:
arch/x86/kernel/amd_iommu_init.c:246:13: warning: symbol 'iommu_enable' was not declared. Should it be static?
arch/x86/kernel/amd_iommu_init.c:259:13: warning: symbol 'iommu_enable_event_logging' was not declared. Should it be static?

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/amd_iommu_init.c