Commit 4a3e7548 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman

staging: ks7010: indent ks7010_sdio.h

Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84e18a94
...@@ -88,7 +88,6 @@ ...@@ -88,7 +88,6 @@
#define KS7010_IRAM_ADDRESS 0x06000000 #define KS7010_IRAM_ADDRESS 0x06000000
/* /*
* struct define * struct define
*/ */
...@@ -104,10 +103,9 @@ struct hw_info_t { ...@@ -104,10 +103,9 @@ struct hw_info_t {
struct ks_sdio_packet { struct ks_sdio_packet {
struct ks_sdio_packet *next; struct ks_sdio_packet *next;
u16 nb; u16 nb;
u8 buffer[0] __attribute__((aligned(4))); u8 buffer[0] __attribute__ ((aligned(4)));
}; };
struct ks_sdio_card { struct ks_sdio_card {
struct sdio_func *func; struct sdio_func *func;
struct ks_wlan_private *priv; struct ks_wlan_private *priv;
...@@ -116,20 +114,18 @@ struct ks_sdio_card { ...@@ -116,20 +114,18 @@ struct ks_sdio_card {
spinlock_t lock; spinlock_t lock;
}; };
/* Tx Device struct */ /* Tx Device struct */
#define TX_DEVICE_BUFF_SIZE 1024 #define TX_DEVICE_BUFF_SIZE 1024
struct tx_device_buffer { struct tx_device_buffer {
unsigned char *sendp; /* pointer of send req data */ unsigned char *sendp; /* pointer of send req data */
unsigned int size; unsigned int size;
void (*complete_handler)(void *arg1, void *arg2); void (*complete_handler) (void *arg1, void *arg2);
void *arg1; void *arg1;
void *arg2; void *arg2;
}; };
struct tx_device{ struct tx_device {
struct tx_device_buffer tx_dev_buff[TX_DEVICE_BUFF_SIZE]; struct tx_device_buffer tx_dev_buff[TX_DEVICE_BUFF_SIZE];
unsigned int qhead; /* tx buffer queue first pointer */ unsigned int qhead; /* tx buffer queue first pointer */
unsigned int qtail; /* tx buffer queue last pointer */ unsigned int qtail; /* tx buffer queue last pointer */
...@@ -145,7 +141,7 @@ struct rx_device_buffer { ...@@ -145,7 +141,7 @@ struct rx_device_buffer {
unsigned int size; unsigned int size;
}; };
struct rx_device{ struct rx_device {
struct rx_device_buffer rx_dev_buff[RX_DEVICE_BUFF_SIZE]; struct rx_device_buffer rx_dev_buff[RX_DEVICE_BUFF_SIZE];
unsigned int qhead; /* rx buffer queue first pointer */ unsigned int qhead; /* rx buffer queue first pointer */
unsigned int qtail; /* rx buffer queue last pointer */ unsigned int qtail; /* rx buffer queue last pointer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment