]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit6543becf26fff612cdadeed7250ccc8d49f67f27
treebcba277bb0c03a81aae46965f3ddc76e582b51f1
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
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 <schwab@linux-m68k.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
include/linux/mod_devicetable.h
scripts/Makefile.modpost
scripts/mod/.gitignore
scripts/mod/Makefile
scripts/mod/devicetable-offsets.c [new file with mode: 0644]
scripts/mod/file2alias.c
scripts/mod/modpost.c