#ifndef _PERF_UI_PROGRESS_H_ #define _PERF_UI_PROGRESS_H_ 1 #include void ui_progress__finish(void); struct ui_progress { const char *title; u64 curr, next, step, total; }; void ui_progress__init(struct ui_progress *p, u64 total, const char *title); void ui_progress__update(struct ui_progress *p, u64 adv); struct ui_progress_ops { void (*update)(struct ui_progress *p); void (*finish)(void); }; extern struct ui_progress_ops *ui_progress__ops; #endif next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-19 13:47:31 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit35f9a64506c8dfaf7d6edbf198dedaeaddbf1a7d (patch)
tree810c2d3090f7e3ebea4921711baf548958caf1bc /drivers
parent52db8d2d8757535731db500ed68289f35ee36d61 (diff)
net: moxa: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct moxart_mac_priv_t, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'drivers')