| Submitter | Al Viro |
|---|---|
| Date | Nov. 27, 2008, 11:23 p.m. |
| Message ID | <20081127232335.GF28946@ZenIV.linux.org.uk> |
| Download | mbox | patch |
| Permalink | /patch/11268/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Al Viro <viro@ZenIV.linux.org.uk> Date: Thu, 27 Nov 2008 23:23:35 +0000 > ixgbe_init_interrupt_scheme() is called from ixgbe_resume(). Build that > with CONFIG_PM and without CONFIG_HOTPLUG and you've got a problem. > Several helpers called by it also are misannotated __devinit. > > Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Applied, thanks Al. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 7e1cc6e..f7228ad 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c @@ -2460,7 +2460,7 @@ static void ixgbe_acquire_msix_vectors(struct ixgbe_adapter *adapter, * Once we know the feature-set enabled for the device, we'll cache * the register offset the descriptor ring is assigned to. **/ -static void __devinit ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) +static void ixgbe_cache_ring_register(struct ixgbe_adapter *adapter) { int feature_mask = 0, rss_i; int i, txr_idx, rxr_idx; @@ -2565,8 +2565,7 @@ err_tx_ring_allocation: * Attempt to configure the interrupts using the best available * capabilities of the hardware and the kernel. **/ -static int __devinit ixgbe_set_interrupt_capability(struct ixgbe_adapter - *adapter) +static int ixgbe_set_interrupt_capability(struct ixgbe_adapter *adapter) { int err = 0; int vector, v_budget;