Hello all,
I am writing a USB device driver and I have some problems to write
the specific probe() function.

In the documentation, it is said that the probe function is
responsible for mapping the
platform ressources (IRQ and I/O memory)

Firstly,  what should I do with platform_get_ressource() function?

Some vendors use device_register(). What does it do?

And what is the field platform_data aim? (field of the struct device)

Thanks in advance for the clarifications.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to