]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hw_random/ixp4xx-rng.c
Linux 2.6.28-rc7
[linux-2.6-omap-h63xx.git] / drivers / char / hw_random / ixp4xx-rng.c
index c9caff57db85dfac639d30efe0c1439299cccd81..263567f5f3923fb12ae13d6401aa84f1b636aa07 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/hw_random.h>
 
 #include <asm/io.h>
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 
 
 static int ixp4xx_rng_data_read(struct hwrng *rng, u32 *buffer)
@@ -64,7 +64,7 @@ static void __exit ixp4xx_rng_exit(void)
        iounmap(rng_base);
 }
 
-subsys_initcall(ixp4xx_rng_init);
+module_init(ixp4xx_rng_init);
 module_exit(ixp4xx_rng_exit);
 
 MODULE_AUTHOR("Deepak Saxena <dsaxena@plexity.net>");