I just notice that, too. My mail address that and your's just crossed
each other.
Yes I have, but nothing special. This is part of a generic API defined
in include/linux/clk.h. One of it's use it to abstract away some
platform dependencies. There are several architectures that define
it[1]. I used it to allow enabling the device only when the device is
opened. Typical things in the enable routine are enabling a clock or
reserve and configure gpios etc.
A minimal dummy implementation that should work here is:
#define clk_get(dev, id) NULL
#define clk_put(clk) ((void)0)
#define clk_enable(clk) (1)
#define clk_disable(clk) ((void)0)
Best regards
Uwe
[1] Try:
git ls-files -z | xargs -0 perl -n -e 'print "$ARGV\n" if /EXPORT_SYMBOL(?:_GPL)?\s*\(\s*clk_get\s*\)/;'
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
--