Re: [PATCH] tmio_mmc: Optionally support using platform clock

From: Ian Molton
Date: Wed Jul 29 2009 - 19:41:16 EST


pHilipp Zabel wrote:

struct tmio_mmc_data {
const unsigned int hclk;
+ const char *clk_name;
Drop that.

Actually, this struct can be dropped completely and the HCLK rate can
be determined with clk_get_rate.

Actually it cant because MFD devices have different hclk frequencies, and the mmc driver needs to know this. MFD drivers cannot pass the hclk rate in using the clk API at present.

-Ian

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/