patch-2.4.23 linux-2.4.23/include/asm-ppc/ocp.h

Next file: linux-2.4.23/include/asm-ppc/page.h
Previous file: linux-2.4.23/include/asm-ppc/mpc8xx.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-ppc/ocp.h linux-2.4.23/include/asm-ppc/ocp.h
@@ -40,6 +40,7 @@
 #include <linux/config.h>
 #include <linux/devfs_fs_kernel.h>
 
+#include <asm/mmu.h>
 #include <asm/ocp_ids.h>
 #include <asm/rwsem.h>
 #include <asm/semaphore.h>
@@ -103,7 +104,7 @@
 	unsigned int	vendor;
 	unsigned int	function;
 	int		index;
-	unsigned long	paddr;
+	phys_addr_t	paddr;
 	int	  	irq;
 	unsigned long	pm;
 	void		*additions;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)