aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_sdio.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-11-23 09:43:44 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:54 -0500
commit69f9032d9dfeb763b467fdbe8cf5938f5457083a (patch)
tree613598938e17e1a7514e0da3817f3cfebbe346a9 /drivers/net/wireless/libertas/if_sdio.c
parent96287ac4f7b387acbe17e24b5e1bcbf3bc0e75cd (diff)
libertas: remove arbitrary typedefs
New typedefs are usually frowned upon. This patch changes libertas_adapter -> struct libertas_adapter libertas_priv -> struct libertas_priv While passing, make everything checkpatch.pl-clean that gets touches. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
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;