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

Calling clk_get from a misc device



Hi

I'm writing a watchdog timer device driver, and want to write it as a misc character
device (an older example I have does that). Now I need to call clk_get in order to
find the speed of a reference bus. However, clk_get needs a struct device* as
argument. I don't a struct device*. The examples that I have found that uses clk_get
all are platform devices. Any help out there?


Thanks in advance.

/peter


-- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?



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