Re: [PATCH] smc91c92_cs: use request_firmware

From: Dominik Brodowski
Date: Mon Jul 28 2008 - 04:28:25 EST


Hi,

On Sun, Jul 27, 2008 at 08:22:21PM +0530, Jaswinder Singh wrote:
> +static int osi_load_firmware(struct pcmcia_device *link)
> +{
> + struct platform_device *pdev;
> + const struct firmware *fw;
> + const char fw_name[] = "ositech/Xilinx7OD.bin";
> + int i, err;
> +
> + pdev = platform_device_register_simple("ositech", 0, NULL, 0);

Why do we need a platform_device here? Can't we just use the pcmcia device
(so &link->dev) here?

Thanks,
Dominik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/