struct cppi_descriptor  *bd;
                dma_addr_t              dma;
 
-               bd = dma_pool_alloc(cppi->pool, SLAB_KERNEL, &dma);
+               bd = dma_pool_alloc(cppi->pool, GFP_KERNEL, &dma);
                bd->dma = dma;
                cppi_bd_free(c, bd);
        }
 
  * With unloaded systems, using the shared workqueue seems to suffice
  * to satisfy the 100msec A_WAIT_VRISE timeout...
  */
-static void evm_deferred_drvvbus(void *_musb)
+static void evm_deferred_drvvbus(struct work_struct *ignored)
 {
        davinci_i2c_expander_op(0x3a, USB_DRVVBUS, vbus_state);
        vbus_state = !vbus_state;
 }
-DECLARE_WORK(evm_vbus_work, evm_deferred_drvvbus, 0);
+DECLARE_WORK(evm_vbus_work, evm_deferred_drvvbus);
 
 #endif /* modified board */
 #endif /* EVM */
        if (revision == 0)
                return -ENODEV;
 
-#ifdef CONFIG_MACH_DAVINCI_EVM
-       if (machine_is_davinci_evm())
-               evm_vbus_work.data = musb;
-#endif
-
        if (is_host_enabled(musb))
                setup_timer(&otg_workaround, otg_timer, (unsigned long) musb);