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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux