Clarifications on usb device driver probe() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux