staging: octeon-usb: cvmx_usb_isochronous_flags_t -> enum cvmx_usb_isochronous_flags
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 30 Jul 2013 20:43:00 +0000 (23:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:50:08 +0000 (17:50 -0700)
Replace cvmx_usb_isochronous_flags_t with enum cvmx_usb_isochronous_flags.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/cvmx-usb.c
drivers/staging/octeon-usb/cvmx-usb.h

index a77d9308b987cde33eedbff59be40ee58c9ee6ed..2d9474aab979e8eb5fcbeb2c21652985a4e222dc 100644 (file)
@@ -2291,7 +2291,7 @@ int cvmx_usb_submit_control(cvmx_usb_state_t *state, int pipe_handle,
  *                 Number of frames into the future to schedule
  *                 this transaction.
  * @flags:         Flags to control the transfer. See
- *                 cvmx_usb_isochronous_flags_t for the flag
+ *                 enum cvmx_usb_isochronous_flags for the flag
  *                 definitions.
  * @number_packets:
  *                 Number of sequential packets to transfer.
index 6c404b0882d73fcc4f0cae68015d0cdb1e8a90a4..cf49b13a806b4949d56c288e471f99d71fa9596e 100644 (file)
@@ -488,13 +488,19 @@ extern int cvmx_usb_submit_control(cvmx_usb_state_t *state, int pipe_handle,
                                    void *user_data);
 
 /**
- * Flags to pass the cvmx_usb_submit_isochronous() function.
+ * enum cvmx_usb_isochronous_flags - flags to pass the
+ *                                  cvmx_usb_submit_isochronous() function.
+ *
+ * @CVMX_USB_ISOCHRONOUS_FLAGS_ALLOW_SHORT: Do not return an error if a transfer
+ *                                         is less than the maximum packet size
+ *                                         of the device.
+ * @CVMX_USB_ISOCHRONOUS_FLAGS_ASAP:       Schedule the transaction as soon as
+ *                                         possible.
  */
-typedef enum
-{
-    CVMX_USB_ISOCHRONOUS_FLAGS_ALLOW_SHORT = 1<<0,  /**< Do not return an error if a transfer is less than the maximum packet size of the device */
-    CVMX_USB_ISOCHRONOUS_FLAGS_ASAP = 1<<1,         /**< Schedule the transaction as soon as possible */
-} cvmx_usb_isochronous_flags_t;
+enum cvmx_usb_isochronous_flags {
+       CVMX_USB_ISOCHRONOUS_FLAGS_ALLOW_SHORT  = 1 << 0,
+       CVMX_USB_ISOCHRONOUS_FLAGS_ASAP         = 1 << 1,
+};
 
 extern int cvmx_usb_submit_isochronous(cvmx_usb_state_t *state, int pipe_handle,
                                        int start_frame, int flags,