Commit 65f6092517466fa18ad77743d39723787e8fa051
Committed by
David S. Miller
1 parent
32a6d90bb3
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
drivers/net: add missing __devexit_p() annotations
Drivers that refer to a __devexit function in an operations structure need to annotate that pointer with __devexit_p so replace it with a NULL pointer when the section gets discarded. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 3 changed files with 3 additions and 3 deletions Side-by-side Diff
drivers/net/ethernet/micrel/ks8842.c
drivers/net/wireless/b43/sdio.c
drivers/net/wireless/p54/p54usb.c
... | ... | @@ -1131,7 +1131,7 @@ |
1131 | 1131 | .name = "p54usb", |
1132 | 1132 | .id_table = p54u_table, |
1133 | 1133 | .probe = p54u_probe, |
1134 | - .disconnect = p54u_disconnect, | |
1134 | + .disconnect = __devexit_p(p54u_disconnect), | |
1135 | 1135 | .pre_reset = p54u_pre_reset, |
1136 | 1136 | .post_reset = p54u_post_reset, |
1137 | 1137 | #ifdef CONFIG_PM |