Commit 35d42a24 authored by Vikram Narayanan's avatar Vikram Narayanan

lcd/ixgbe: Add stubs

Add stub functions for timer and dev_trans_start
Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
parent 357e9f86
......@@ -9824,10 +9824,8 @@ skip_sriov:
ether_addr_copy(hw->mac.addr, hw->mac.perm_addr);
ixgbe_mac_set_default_filter(adapter);
#ifndef LCD_ISOLATE
setup_timer(&adapter->service_timer, &ixgbe_service_timer,
(unsigned long) adapter);
#endif
if (ixgbe_removed(hw->hw_addr)) {
err = -EIO;
......
......@@ -59,6 +59,19 @@ void skb_add_rx_frag(struct sk_buff *skb, int i, struct page *page, int off,
void netdev_rss_key_fill(void *buffer, size_t len) { LIBLCD_MSG("================>$$$$$$ Dummy %s called", __func__); }
unsigned long dev_trans_start(struct net_device *dev)
{
LIBLCD_MSG("================>$$$$$$ Dummy %s called", __func__);
return 0ul;
}
void init_timer_key(struct timer_list *timer, unsigned int flags,
const char *name, struct lock_class_key *key)
{
LIBLCD_MSG("================>$$$$$$ Dummy %s called", __func__);
return;
}
int del_timer(struct timer_list * timer) { LIBLCD_MSG("================>$$$$$$ Dummy %s called", __func__); return 0; }
int mod_timer(struct timer_list *timer, unsigned long expires) { LIBLCD_MSG("================>$$$$$$ Dummy %s called", __func__); return 0; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment