mod/file2alias: make modalias generation safe for cross compiling
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 20 Jan 2013 16:58:47 +0000 (17:58 +0100)
committerMichal Marek <mmarek@suse.cz>
Thu, 24 Jan 2013 21:48:04 +0000 (22:48 +0100)
Use the target compiler to compute the offsets for the fields of the
device_id structures, so that it won't be broken by different alignments
between the host and target ABIs.

This also fixes missing endian corrections for some modaliases.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found