From: Anton Vorontsov Date: Fri, 5 Oct 2007 17:47:09 +0000 (+0400) Subject: [POWERPC] QE: pario - support for MPC85xx layout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=321872dcc07f83f9b60af1be41c6bafbaddf9bf6;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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;