source: trunk/target/linux/omap24xx/patches-2.6.38/597-cbus-tahvo-usb-platform.patch @ 25979

Last change on this file since 25979 was 25979, checked in by mb, 5 years ago

omap24xx: Split up tahvo usb fixes

File size: 937 bytes
  • arch/arm/mach-omap2/board-n8x0.c

    old new  
    4040#include <plat/serial.h> 
    4141#include <plat/cbus.h> 
    4242#include <plat/gpio-switch.h> 
     43#include <plat/usb.h> 
    4344 
    4445#include "mux.h" 
    4546 
    static struct musb_hdrc_platform_data tu 
    395396        .config         = &musb_config, 
    396397}; 
    397398 
     399static struct omap_usb_config n8x0_omap_usb_config __initdata = { 
     400        .otg            = 1, 
     401        .register_host  = 1, 
     402        .register_dev   = 1, 
     403        .hmc_mode       = 16, 
     404        .pins[0]        = 6, 
     405}; 
     406 
    398407static void __init n8x0_usb_init(void) 
    399408{ 
    400409        int ret = 0; 
    static void __init n8x0_usb_init(void) 
    417426        if (ret != 0) 
    418427                goto err; 
    419428 
     429        omap2_usbfs_init(&n8x0_omap_usb_config); 
     430 
    420431        printk(announce); 
    421432 
    422433        return; 
Note: See TracBrowser for help on using the repository browser.