modpost: use linker section to generate table.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:16 +0000 (09:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 23:02:16 +0000 (09:32 +1030)
This means (most) future busses need only have one hunk in their
patch.  Also took the opportunity to check that function matches the
type.

Again, inspired by Alessandro's patch series.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Alessandro Rubini <rubini@gnudd.com>

No differences found