]> git.baikalelectronics.ru Git - kernel.git/commit
eisa/pci_eisa.c: fix BUG introduced by a490f7d8730
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)
commit693d7ddcf35a617c69661d78f48b3437425aba54
tree122ecd6e6b0662fcfaacd04ce0a5d37b7f62146b
parent4732e30cdb783cf86cca151563e9aaccbe1e52aa
eisa/pci_eisa.c: fix BUG introduced by a490f7d8730

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 a490f7d8730 did only mention
`pci_eisa_driver', not `pci_eisa_pci_tbl', so remove its marking.

Broken-by: Arnaud Lacombe <lacombar@gmail.com> (in a490f7d8730)
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