Thread (4 messages) 4 messages, 2 authors, 2008-07-28

Re: [PATCH] smc91c92_cs: use request_firmware

flat view

From: Dominik Brodowski <linux@dominikbrodowski.net>
Date: 2008-07-28 08:28:24
Also in: lkml

Hi,

On Sun, Jul 27, 2008 at 08:22:21PM +0530, Jaswinder Singh wrote:
quoted hunk ↗ jump to hunk
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help