]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Make PCDP work again.
authorDavid Mosberger-Tang <David.Mosberger@acm.org>
Wed, 13 Jul 2005 04:51:00 +0000 (21:51 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 13 Jul 2005 18:56:32 +0000 (11:56 -0700)
Mark's patch added "attribute((packed))" for pcdp_uart, without
accounting for the fact that the structure definition _relied_ on
implicit padding by 6 bytes.  Fix is to make the padding explicit.

Signed-off-by: David Mosberger-Tang <David.Mosberger@acm.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/firmware/pcdp.h

index e72cc47de33b64eb8bf1d5664b861fe79e090f57..ce910d68bd195258d1c9c2802917e2e8e289759d 100644 (file)
@@ -52,6 +52,8 @@ struct pcdp_uart {
        u32                             clock_rate;
        u8                              pci_prog_intfc;
        u8                              flags;
+       u16                             conout_index;
+       u32                             reserved;
 } __attribute__((packed));
 
 #define PCDP_IF_PCI    1