From: Anton Vorontsov Date: Fri, 5 Oct 2007 17:47:09 +0000 (+0400) Subject: [POWERPC] QE: pario - support for MPC85xx layout X-Git-Tag: v2.6.24-rc1~1450^2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=321872dcc07f83f9b60af1be41c6bafbaddf9bf6;p=linux-2.6-omap-h63xx.git [POWERPC] QE: pario - support for MPC85xx layout 8 bytes padding required to match MPC85xx registers layout. Signed-off-by: Anton Vorontsov Reviewed-by: Kim Phillips Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/sysdev/qe_lib/qe_io.c b/arch/powerpc/sysdev/qe_lib/qe_io.c index a114cb0c572..e53ea4d374a 100644 --- a/arch/powerpc/sysdev/qe_lib/qe_io.c +++ b/arch/powerpc/sysdev/qe_lib/qe_io.c @@ -36,6 +36,9 @@ struct port_regs { __be32 cpdir2; /* Direction register */ __be32 cppar1; /* Pin assignment register */ __be32 cppar2; /* Pin assignment register */ +#ifdef CONFIG_PPC_85xx + u8 pad[8]; +#endif }; static struct port_regs *par_io = NULL;