]> git.hungrycats.org Git - linux/commit
[PATCH] ftape linkage error
authorMikael Pettersson <mikpe@csd.uu.se>
Thu, 9 Oct 2003 01:02:07 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 9 Oct 2003 01:02:07 +0000 (18:02 -0700)
commitd825dc17616ed5f39224f9b340d47c14e9b1ec60
tree6c9a3b2d27b45bc1aa068eb7906bd15db53185b5
parent5813ce328da5aadc344d5c9286cb38ca12a48894
[PATCH] ftape linkage error

Since 2.6.0-test6, ftape can't be configured as a built-in driver.
test6 changed ftape-init.c to call ftape_proc_destroy() also in
the non-MODULE case; however, ftape_proc_destroy() is only defined
when the driver is built as a module. The result is a linkage error.

This fixes this by deleting the #if MODULE around ftape_proc_destroy()'s
definition.
drivers/char/ftape/lowlevel/ftape-proc.c