OSDN Git Service

staging: most: rename enum mbo_status_flags
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 13 Dec 2019 12:04:16 +0000 (13:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 12:50:04 +0000 (13:50 +0100)
The data structures of the most.h header file will be exposed
to the kernel once the file is moved out of the staging area.
This is why the name is prefixed with the string 'most'.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1576238662-16512-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/most.h

index fa6b29f..d93c6ce 100644 (file)
@@ -47,7 +47,7 @@ enum most_channel_data_type {
        MOST_CH_SYNC = 1 << 5,
 };
 
-enum mbo_status_flags {
+enum most_status_flags {
        /* MBO was processed successfully (data was send or received )*/
        MBO_SUCCESS = 0,
        /* The MBO contains wrong or missing information.  */
@@ -184,7 +184,7 @@ struct mbo {
        dma_addr_t bus_address;
        u16 buffer_length;
        u16 processed_length;
-       enum mbo_status_flags status;
+       enum most_status_flags status;
        void (*complete)(struct mbo *mbo);
 };