Эх сурвалжийг харах

x86, pci-calgary: fix function declaration

Fix function declaration:

 linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Randy Dunlap 17 жил өмнө
parent
commit
9b0094f7f2

+ 1 - 1
arch/x86/kernel/pci-calgary_64.c

@@ -1350,7 +1350,7 @@ static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl)
  * Function for kdump case. Get the tce tables from first kernel
  * Function for kdump case. Get the tce tables from first kernel
  * by reading the contents of the base adress register of calgary iommu
  * by reading the contents of the base adress register of calgary iommu
  */
  */
-static void get_tce_space_from_tar()
+static void get_tce_space_from_tar(void)
 {
 {
 	int bus;
 	int bus;
 	void __iomem *target;
 	void __iomem *target;