From: Andreas Schwab Date: Sun, 20 Jan 2013 16:58:47 +0000 (+0100) Subject: mod/file2alias: make modalias generation safe for cross compiling X-Git-Tag: v3.9-rc1~51^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6543becf26fff612cdadeed7250ccc8d49f67f27;p=pandora-kernel.git mod/file2alias: make modalias generation safe for cross compiling 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 Signed-off-by: Michal Marek --- Reading git-diff-tree failed