]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hw_random/pasemi-rng.c
Merge git://git.infradead.org/embedded-2.6
[linux-2.6-omap-h63xx.git] / drivers / char / hw_random / pasemi-rng.c
index e2ea210cfa5f9149d018fa1f64995902d86774bd..7fa61dd1d9d9a986fb74dd8b384893adc2ec767a 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/platform_device.h>
 #include <linux/hw_random.h>
 #include <linux/delay.h>
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #include <asm/io.h>
 
 #define SDCRNG_CTL_REG                 0x00
@@ -134,10 +134,9 @@ static int __devexit rng_remove(struct of_device *dev)
 }
 
 static struct of_device_id rng_match[] = {
-       {
-               .compatible      = "1682m-rng",
-       },
-       {},
+       { .compatible      = "1682m-rng", },
+       { .compatible      = "pasemi,pwrficient-rng", },
+       { },
 };
 
 static struct of_platform_driver rng_driver = {