lkml.org 
[lkml]   [2008]   [Jul]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 28 Jul 2008 10:28:14 +0200
FromDominik Brodowski <>
SubjectRe: [PATCH] smc91c92_cs: use request_firmware
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


\
 
 \ /
  Last update: 2008-07-28 10:31    [from the cache]
©2003-2008