From: Rashika Kheria Date: Wed, 18 Dec 2013 06:31:46 +0000 (+0530) Subject: iommu/vt-d: Mark functions as static in dmar.c X-Git-Tag: v3.14-rc1~50^2^3~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21004dcd3ba25163d620eddc703185cd50c89a93;p=pandora-kernel.git iommu/vt-d: Mark functions as static in dmar.c Mark the functions check_zero_address() and dmar_get_fault_reason() as static in dmar.c because they are not used outside this file. This eliminates the following warnings in dmar.c: drivers/iommu/dmar.c:491:12: warning: no previous prototype for ‘check_zero_address’ [-Wmissing-prototypes] drivers/iommu/dmar.c:1116:13: warning: no previous prototype for ‘dmar_get_fault_reason’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed