Ashok Sharma wrote:
Pl explain the following structure declaration in PCI_driver code
static struct pci_driver foo_driver {
.name = “foo”,
.probe = foo_probe,
.remove = foo_remove,
.id_table = foo_tbl,
};
consider me a novice only
Ashok,
youve been on-list a while ( at least since 12/05),
please follow standard practice, and start a new thread to ask new
questions.
You may regard this as a followon, Id wager the thread participants think it
as a backup-and-start-over.
youre looking at a C99 initialiation of a vtable
http://en.wikipedia.org/wiki/Vtable
Please consider adding an entry to the Glossary on kernelnewbies,
presumably with just a link to the wikipedia entry.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/