pcmcia: cistpl: use get_unaligned() in CIS parsing
commitdc0cf6a263d5a094d8c17287407aad1032a613b3
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Tue, 16 Oct 2007 08:23:52 +0000 (16 01:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:50 +0000 (16 09:42 -0700)
tree71bf5e86e21f55b8838f02b6b8af7ba7238c0f3b
parentb5446b514c00b3034017609ec4e5a09117b9c8fd
pcmcia: cistpl: use get_unaligned() in CIS parsing

Based on a patch by Haavard Skinnemoen posted to linux-pcmcia, but using
static inlines for readability reasons.  this should fix PCMCIA an AVR32

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pcmcia/cistpl.c