aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netprio_cgroup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-04-12 03:06:44 -0400
committerDavid S. Miller <davem@davemloft.net>2013-04-12 03:06:44 -0400
commit6c6779856a294649dbb468ef46e893e80b0d72ad (patch)
treeb38034a1a290d7d4fe328c4ceedfe5278e4effcf /net/core/netprio_cgroup.c
parentnet: ethernet: stmicro: stmmac: use devm_ioremap_resource() (diff)
downloadlinux-dev-6c6779856a294649dbb468ef46e893e80b0d72ad.tar.xz
linux-dev-6c6779856a294649dbb468ef46e893e80b0d72ad.zip
Revert "netprio_cgroup: make local table static"
This reverts commit 763eff57de893a27f8f18855f17033c92598c423. It causes build regressions, as per Stephen Rothwell: ==================== After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: net/core/netprio_cgroup.c:250:29: error: static declaration of 'net_prio_subsys' follows non-static declaration include/linux/cgroup_subsys.h:71:1: note: previous declaration of 'net_prio_subsys' was here ==================== Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/core/netprio_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c
index 7aa885001aba..0777d0aa18c3 100644
--- a/net/core/netprio_cgroup.c
+++ b/net/core/netprio_cgroup.c
@@ -247,7 +247,7 @@ static struct cftype ss_files[] = {
{ } /* terminate */
};
-static struct cgroup_subsys net_prio_subsys = {
+struct cgroup_subsys net_prio_subsys = {
.name = "net_prio",
.css_alloc = cgrp_css_alloc,
.css_online = cgrp_css_online,