summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-09-17 01:23:28 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-13 17:05:06 +0200
commitd945b697d0eea5a811ec299c5f1a25889bb0242b (patch)
treee9f902122c05a174eac04464b145bd7a69f261dc /drivers/net/bnx2x.h
parentRemove asm/a.out.h files for all architectures without a.out support. (diff)
downloadlinux-d945b697d0eea5a811ec299c5f1a25889bb0242b.tar.xz
linux-d945b697d0eea5a811ec299c5f1a25889bb0242b.zip
Automatic MODULE_ALIAS() for DMI match tables.
This makes modpost handle MODULE_DEVICE_TABLE(dmi, xxxx). I had to change the string pointers in the match table to char arrays, and picked a size of 79 bytes almost at random -- do we need to make it bigger than that? I was a bit concerned about the 'bloat' this introduces into the match tables, but they should all be __initdata so it shouldn't matter too much. (Actually, modpost does go through the relocations and look at most of them; it wouldn't be impossible to make it handle string pointers -- but doesn't seem to be worth the effort, since they're __initdata). Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/net/bnx2x.h')
0 files changed, 0 insertions, 0 deletions