external driver and struct device

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

 



hello all,

i am writing an external driver (not in-tree) and many kernel APIs
need a struct device.

for example - clock API and DMA API...

so how can I have it ? I currently don't have a probe function that
gives me a device
pointer...

should I "fake" a device ?

or maybe I better register a probe function using platform_driver_register ?

thank you
naziir

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux