ieee1394: ohci1394: more obvious endianess handling
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Sep 2006 18:36:00 +0000 (20:36 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 17:39:01 +0000 (19:39 +0200)
commit9531f13ae56b136d0ad09e6e5c8308a7dc58f3f0
treef4f3f0348abd5ca2fc5404d0418122d9191330fc
parentcf82703dc6f8197341ca6be33cd38e80332685f0
ieee1394: ohci1394: more obvious endianess handling

Rename ohci1394's packet_swab to header_le32_to_cpu to better reflect
what it actually does.  Also, define a constant array as 'const' and
check the array index properly.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/ohci1394.c