[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081107114704.25190.24427.stgit@linux.site>
Date: Fri, 07 Nov 2008 12:47:17 +0100
From: Maciej Sosnowski <maciej.sosnowski@...el.com>
To: dan.j.williams@...el.com
Cc: tom.s.picard@...el.com, mark_rustad@...tech.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
stable@...nel.org
Subject: [PATCH 4/4] dca: fixup initialization dependency
From: Dan Williams <dan.j.williams@...el.com>
Mark dca_init as a subsys_initcall since it needs to be ready to go
before dependent drivers start registering themselves.
Cc: <stable@...nel.org>
Reported-and-tested-by: Mark Rustad <mark_rustad@...tech.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@...el.com>
Signed-off-by: Dan Williams <dan.j.williams@...el.com>
---
drivers/dca/dca-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index ec249d2..d883e1b 100644
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -270,6 +270,6 @@ static void __exit dca_exit(void)
dca_sysfs_exit();
}
-module_init(dca_init);
+subsys_initcall(dca_init);
module_exit(dca_exit);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists