aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4vf/cxgb4vf_main.c
diff options
context:
space:
mode:
authorCasey Leedom <leedom@chelsio.com>2010-11-11 04:30:42 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-15 12:17:37 -0500
commit4204875dd4b3c3e40e0294a8c2619fdf9e5907e1 (patch)
treef53e986d856716d8dd38a5fe3ff1cf7ccff05c7b /drivers/net/cxgb4vf/cxgb4vf_main.c
parentf12fe3536bebcbd2ccfa80030ec7d9868c488d30 (diff)
cxgb4vf: fix up "Section Mismatch" compiler warning.
Fix up "Section Mismatch" compiler warning and mark another routine as __devinit. Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4vf/cxgb4vf_main.c')
-rw-r--r--drivers/net/cxgb4vf/cxgb4vf_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cxgb4vf/cxgb4vf_main.c b/drivers/net/cxgb4vf/cxgb4vf_main.c
index 47417d400371..4cf530ac149d 100644
--- a/drivers/net/cxgb4vf/cxgb4vf_main.c
+++ b/drivers/net/cxgb4vf/cxgb4vf_main.c
@@ -2032,7 +2032,7 @@ static int __devinit setup_debugfs(struct adapter *adapter)
2032 * Tear down the /sys/kernel/debug/cxgb4vf sub-nodes created above. We leave 2032 * Tear down the /sys/kernel/debug/cxgb4vf sub-nodes created above. We leave
2033 * it to our caller to tear down the directory (debugfs_root). 2033 * it to our caller to tear down the directory (debugfs_root).
2034 */ 2034 */
2035static void __devexit cleanup_debugfs(struct adapter *adapter) 2035static void cleanup_debugfs(struct adapter *adapter)
2036{ 2036{
2037 BUG_ON(adapter->debugfs_root == NULL); 2037 BUG_ON(adapter->debugfs_root == NULL);
2038 2038
@@ -2050,7 +2050,7 @@ static void __devexit cleanup_debugfs(struct adapter *adapter)
2050 * adapter parameters we're going to be using and initialize basic adapter 2050 * adapter parameters we're going to be using and initialize basic adapter
2051 * hardware support. 2051 * hardware support.
2052 */ 2052 */
2053static int adap_init0(struct adapter *adapter) 2053static int __devinit adap_init0(struct adapter *adapter)
2054{ 2054{
2055 struct vf_resources *vfres = &adapter->params.vfres; 2055 struct vf_resources *vfres = &adapter->params.vfres;
2056 struct sge_params *sge_params = &adapter->params.sge; 2056 struct sge_params *sge_params = &adapter->params.sge;