Annotate PCI fixups with __devinit instead of __init |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
This patch series adds a section missmatch check to modpost which will
splat a warning if a PCI fixup routine (declared via
DECLARE_PCI_FIXUP_HEADER for instance) is defined in __init. Even if the
platform does not support hot-plug, one could remove the PCI bus during
run time (soft remove, now HW touching involved) and rediscover it again.
The rediscover process will call the PCI-fixups again.
This is patch #1. After posting it Bjorn ask for fixing the noisy warnings
and this is done by patch #2 to #9.
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]