staging: wilc1000: move sdio_cmd52 & sdio_cmd53 struct to source file
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 12 Nov 2018 05:45:11 +0000 (05:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Nov 2018 22:43:16 +0000 (14:43 -0800)
Moved sdio_cmd52 & sdio_cmd53 struct from wilc_wlan_if.h, as its used in
wilc_sdio.cfile.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c
drivers/staging/wilc1000/wilc_wlan_if.h

index ca351c95034498e3c470cbb9991576c34464c7eb..779614ef433791b0a590808d8b9f72bb8edd4291 100644 (file)
@@ -30,6 +30,25 @@ struct wilc_sdio {
        int has_thrpt_enh3;
 };
 
+struct sdio_cmd52 {
+       u32 read_write:         1;
+       u32 function:           3;
+       u32 raw:                1;
+       u32 address:            17;
+       u32 data:               8;
+};
+
+struct sdio_cmd53 {
+       u32 read_write:         1;
+       u32 function:           3;
+       u32 block_mode:         1;
+       u32 increment:          1;
+       u32 address:            17;
+       u32 count:              9;
+       u8 *buffer;
+       u32 block_size;
+};
+
 static const struct wilc_hif_func wilc_hif_sdio;
 
 static int sdio_write_reg(struct wilc *wilc, u32 addr, u32 data);
index 4f258bf6a48d11cc151c60a2d289082edf34ba7a..dc407434139a19def6f66350d91f5b2c5f156a72 100644 (file)
  *
  ********************************************/
 
-struct sdio_cmd52 {
-       u32 read_write:         1;
-       u32 function:           3;
-       u32 raw:                1;
-       u32 address:            17;
-       u32 data:               8;
-};
-
-struct sdio_cmd53 {
-       u32 read_write:         1;
-       u32 function:           3;
-       u32 block_mode:         1;
-       u32 increment:          1;
-       u32 address:            17;
-       u32 count:              9;
-       u8 *buffer;
-       u32 block_size;
-};
-
 #define MAC_STATUS_INIT                        -1
 #define MAC_STATUS_CONNECTED           1
 #define MAC_STATUS_DISCONNECTED                0