drivers: remove struct module * setting from struct class
[linux-2.6-microblaze.git] / arch / mips / kernel / vpe-mt.c
index 84a82b5..667bc75 100644 (file)
@@ -92,12 +92,11 @@ int vpe_run(struct vpe *v)
        write_tc_c0_tchalt(read_tc_c0_tchalt() & ~TCHALT_H);
 
        /*
-        * The sde-kit passes 'memsize' to __start in $a3, so set something
-        * here...  Or set $a3 to zero and define DFLT_STACK_SIZE and
-        * DFLT_HEAP_SIZE when you compile your program
+        * We don't pass the memsize here, so VPE programs need to be
+        * compiled with DFLT_STACK_SIZE and DFLT_HEAP_SIZE defined.
         */
+       mttgpr(7, 0);
        mttgpr(6, v->ntcs);
-       mttgpr(7, physical_memsize);
 
        /* set up VPE1 */
        /*
@@ -317,7 +316,6 @@ static void vpe_device_release(struct device *cd)
 
 static struct class vpe_class = {
        .name = "vpe",
-       .owner = THIS_MODULE,
        .dev_release = vpe_device_release,
        .dev_groups = vpe_groups,
 };