How does the driver initialize corresponding with several samedevices ?

From: Li Haifeng
Date: Wed Apr 18 2012 - 05:08:07 EST

I make a driver module and built in the kernel. There are three devices use
the same driver on the hardware platform. To use each device, the probe
function of the driver module should be probed. So, the driver module is
registered in the kernel.

My question is, how times should the probe function of the driver be called
and create nodes in devfs to corresponding with the three devices?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at