Hi Greg, Thanks for the reply. So as we will only have multiple instances of device specific structure so the global static variables declared in the driver module will also have a single instance. If it is so, then I have a doubt regarding the sl811_cs.c There the platform_device structure is static global. After allocating the resources, we pass the resources to the sl811-hcd through this structure. As it is a global structure, then we can not create more than one instance of it. So what if we will have more than one sl811 device? As only one platform_device instance is possible, is it possible to have more than one sl811 device operating in one time? Looking forward to your replies. Thanks in advance Thank you, With Regards, Kaustav Majumdar -----Original Message----- From: Greg KH [mailto:greg@xxxxxxxxx] Sent: Tuesday, June 13, 2006 8:41 PM To: Kaustav Majumdar (WT01 - Semiconductors & Consumer Electronics) Cc: kernelnewbies@xxxxxxxxxxxx Subject: Re: generic platform device question On Tue, Jun 13, 2006 at 02:31:26PM +0530, kaustav.majumdar@xxxxxxxxx wrote: > Hi all, > > I was curious about the following doubts: > > 1. In presence of multiple devices, whether multiple instances of the > driver (which drives the device) will be created? No. Only multiple instances of the device specific structures. Please see the book, "Linux Device Drivers, third edition", online for free, if you have further questions in this area. good luck, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/