aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_sdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/if_sdio.c')
-rw-r--r--drivers/net/wireless/libertas/if_sdio.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c
index de4ad57fae49..7a7037bdd37c 100644
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -82,7 +82,7 @@ struct if_sdio_packet {
82 82
83struct if_sdio_card { 83struct if_sdio_card {
84 struct sdio_func *func; 84 struct sdio_func *func;
85 lbs_private *priv; 85 struct lbs_private *priv;
86 86
87 int model; 87 int model;
88 unsigned long ioport; 88 unsigned long ioport;
@@ -694,7 +694,8 @@ out:
694/* Libertas callbacks */ 694/* Libertas callbacks */
695/*******************************************************************/ 695/*******************************************************************/
696 696
697static int if_sdio_host_to_card(lbs_private *priv, u8 type, u8 *buf, u16 nb) 697static int if_sdio_host_to_card(struct lbs_private *priv,
698 u8 type, u8 *buf, u16 nb)
698{ 699{
699 int ret; 700 int ret;
700 struct if_sdio_card *card; 701 struct if_sdio_card *card;
@@ -775,7 +776,7 @@ out:
775 return ret; 776 return ret;
776} 777}
777 778
778static int if_sdio_get_int_status(lbs_private *priv, u8 *ireg) 779static int if_sdio_get_int_status(struct lbs_private *priv, u8 *ireg)
779{ 780{
780 struct if_sdio_card *card; 781 struct if_sdio_card *card;
781 782
@@ -791,7 +792,7 @@ static int if_sdio_get_int_status(lbs_private *priv, u8 *ireg)
791 return 0; 792 return 0;
792} 793}
793 794
794static int if_sdio_read_event_cause(lbs_private *priv) 795static int if_sdio_read_event_cause(struct lbs_private *priv)
795{ 796{
796 struct if_sdio_card *card; 797 struct if_sdio_card *card;
797 798
@@ -857,7 +858,7 @@ static int if_sdio_probe(struct sdio_func *func,
857 const struct sdio_device_id *id) 858 const struct sdio_device_id *id)
858{ 859{
859 struct if_sdio_card *card; 860 struct if_sdio_card *card;
860 lbs_private *priv; 861 struct lbs_private *priv;
861 int ret, i; 862 int ret, i;
862 unsigned int model; 863 unsigned int model;
863 struct if_sdio_packet *packet; 864 struct if_sdio_packet *packet;