]> git.hungrycats.org Git - linux/commit
[PATCH] kcapi.c CONFIG_MODULES=n build fix
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Oct 2003 01:22:36 +0000 (18:22 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 01:22:36 +0000 (18:22 -0700)
commit500ea96b14fe448562767f53e3fe487867272ff6
treed930cb83389ff83e3875780599ddf4eddfb6306f
parent8bcb3ba1dec5749a7f1eed570cb69a20c2e4bd41
[PATCH] kcapi.c CONFIG_MODULES=n build fix

With CONFIG_MODULES=n this file does not compile because the type of
module->owner is not known.

Gven that card->owner is probably a null pointer when this driver is
statically linked, best thing to do is to just not poke around inside
card->owner at all.
drivers/isdn/capi/kcapi.c