net: aquantia: Add const qualifiers for hardware ops tables
[linux-2.6-block.git] / drivers / net / ethernet / aquantia / atlantic / aq_pci_func.h
index ecb0337912039b91525582583e2c40c5f6836ab7..84465220b36bb20e02de322708faa1e7982af9b8 100644 (file)
@@ -13,8 +13,9 @@
 #define AQ_PCI_FUNC_H
 
 #include "aq_common.h"
+#include "aq_nic.h"
 
-struct aq_pci_func_s *aq_pci_func_alloc(struct aq_hw_ops *hw_ops,
+struct aq_pci_func_s *aq_pci_func_alloc(const struct aq_hw_ops *hw_ops,
                                        struct pci_dev *pdev,
                                        const struct net_device_ops *ndev_ops,
                                        const struct ethtool_ops *eth_ops);