drivers/net: fix up function prototypes after __dev* removals

The __dev* removal patches for the network drivers ended up messing up
the function prototypes for a bunch of drivers.  This patch fixes all of
them back up to be properly aligned.

Bonus is that this almost removes 100 lines of code, always a nice
surprise.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Greg Kroah-Hartman
2012-12-06 14:30:56 +00:00
committed by David S. Miller
orang tua 45122ca26c
melakukan 1dd06ae8db
107 mengubah file dengan 188 tambahan dan 284 penghapusan

Melihat File

@@ -193,8 +193,7 @@ static int softingcs_enable_irq(struct platform_device *pdev, int v)
/*
* pcmcia check
*/
static int softingcs_probe_config(struct pcmcia_device *pcmcia,
void *priv_data)
static int softingcs_probe_config(struct pcmcia_device *pcmcia, void *priv_data)
{
struct softing_platform_data *pdat = priv_data;
struct resource *pres;

Melihat File

@@ -646,7 +646,7 @@ static const struct can_bittiming_const softing_btr_const = {
static struct net_device *softing_netdev_create(struct softing *card,
uint16_t chip_id)
uint16_t chip_id)
{
struct net_device *netdev;
struct softing_priv *priv;