* [net-next PATCH] net/mqprio: Fix build error due to non-exported symbol
@ 2017-10-17 0:05 Alexander Duyck
0 siblings, 0 replies; only message in thread
From: Alexander Duyck @ 2017-10-17 0:05 UTC (permalink / raw)
To: netdev, davem
From: Alexander Duyck <alexander.h.duyck@intel.com>
I overlooked the fact that netdev_txq_to_tc was not an exported symbol. To
fix that I am providing the export for the symbol in order to avoid
breaking builds where mqprio is not built into the kernel.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
---
net/core/dev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/dev.c b/net/core/dev.c
index fb766d906148..0aa255f3a866 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2008,6 +2008,7 @@ int netdev_txq_to_tc(struct net_device *dev, unsigned int txq)
return 0;
}
+EXPORT_SYMBOL(netdev_txq_to_tc);
#ifdef CONFIG_XPS
static DEFINE_MUTEX(xps_map_mutex);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-17 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 0:05 [net-next PATCH] net/mqprio: Fix build error due to non-exported symbol Alexander Duyck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).