Changeset 9483


Ignore:
Timestamp:
2007-11-02T09:59:37+01:00 (10 years ago)
Author:
juhosg
Message:

[adm5120] fix USB driver to compile even if USB_DEBUG is disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120/files/drivers/usb/host/adm5120-dbg.c

    r9480 r9483  
    99 
    1010/*-------------------------------------------------------------------------*/ 
    11  
    12 #ifdef DEBUG 
    1311 
    1412static inline char *ed_typestring(int ed_type) 
     
    7270        return "?TOGGLE"; 
    7371} 
     72 
     73#ifdef DEBUG 
    7474 
    7575/* debug| print the main components of an URB 
     
    378378static inline void admhc_dump_ed(const struct admhcd *ahcd, const char *label, 
    379379        const struct ed *ed, int verbose) {} 
     380static inline void admhc_dump_td(const struct admhcd *ahcd, const char *label, 
     381        const struct td *td) {} 
    380382static inline void admhc_dump(struct admhcd *ahcd, int verbose) {} 
    381383 
Note: See TracChangeset for help on using the changeset viewer.