~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to drivers/usb/gadget/gadget_chips.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
#define gadget_is_s3c_hsotg(g)    0
137
137
#endif
138
138
 
 
139
#ifdef CONFIG_USB_S3C_HSUDC
 
140
#define gadget_is_s3c_hsudc(g) (!strcmp("s3c-hsudc", (g)->name))
 
141
#else
 
142
#define gadget_is_s3c_hsudc(g) 0
 
143
#endif
 
144
 
139
145
#ifdef CONFIG_USB_GADGET_EG20T
140
146
#define gadget_is_pch(g)        (!strcmp("pch_udc", (g)->name))
141
147
#else
215
221
                return 0x28;
216
222
        else if (gadget_is_renesas_usbhs(gadget))
217
223
                return 0x29;
 
224
        else if (gadget_is_s3c_hsudc(gadget))
 
225
                return 0x30;
218
226
 
219
227
        return -ENOENT;
220
228
}