]> git.baikalelectronics.ru Git - kernel.git/commit
eisa/pci_eisa.c: fix BUG introduced by 0c65be67ee7
authorArnaud Lacombe <lacombar@gmail.com>
Thu, 4 Aug 2011 14:39:44 +0000 (10:39 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2011 16:32:51 +0000 (06:32 -1000)
commit706befd8f3d9e0be5ba89ce7f80f8f9f223fc76d
tree122ecd6e6b0662fcfaacd04ce0a5d37b7f62146b
parente41c8904ac91aa4f52fc9ee2326e8c64b00b8cd1
eisa/pci_eisa.c: fix BUG introduced by 0c65be67ee7

While `pci_eisa_driver' still refer `pci_eisa_init', the .probe() function
should not be called after init memory release, as pointed out by commit
f296086b. The structure is still referenced in the drivers subsystem, and can
be accesseed through sysfs, so the modpost warning is a false positive. Mark
it as such.

In the same time, the warning referenced in 0c65be67ee7 did only mention
`pci_eisa_driver', not `pci_eisa_pci_tbl', so remove its marking.

Broken-by: Arnaud Lacombe <lacombar@gmail.com> (in 0c65be67ee7)
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/eisa/pci_eisa.c