Re: [PATCH] Trivial C99 patch for drivers/pnp/card.c
Adam Belay (ambx1@neo.rr.com)
Tue, 4 Feb 2003 19:32:56 +0000
On Tue, Feb 04, 2003 at 03:43:47PM -0600, Art Haas wrote:
> Hi.
> 
> The following trivial patch switches this file to use C99 initializers.
> Please apply. Thanks.
> 
> Art Haas
> 
> ===== drivers/pnp/card.c 1.5 vs edited =====
> --- 1.5/drivers/pnp/card.c	Mon Jan 13 12:25:14 2003
> +++ edited/drivers/pnp/card.c	Tue Jan 14 10:34:42 2003
> @@ -43,8 +43,8 @@
>  }
>  
>  struct bus_type pnpc_bus_type = {
> -	name:	"pnp_card",
> -	match:	card_bus_match,
> +	.name	= "pnp_card",
> +	.match	= card_bus_match,
>  };
>  
Thanks, I'll send this out soon.
-Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/