summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-13 09:32:15 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-01-13 09:32:15 +1030
commit626596e295d477c0fefa08cd5daa7dd011b1bb2c (patch)
tree92d3394766c12b54c9a4fe89fe8e3f6fde89ce5a /scripts/show_delta
parentcca3e707301862ca9b9327e6a732463982f8cd1b (diff)
downloadlinux-626596e295d477c0fefa08cd5daa7dd011b1bb2c.tar.gz
linux-626596e295d477c0fefa08cd5daa7dd011b1bb2c.tar.bz2
linux-626596e295d477c0fefa08cd5daa7dd011b1bb2c.zip
modpost: use a table rather than a giant if/else statement.
We look for symbols of form __mod_<busname>_device_table, and for all but three cases we use a standard interation function (do_table) to walk over the contents and dump out the aliases. Alessandro Rubini did this first, I just repainted the bikeshed a bit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Alessandro Rubini <rubini@gnudd.com>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions