RFC: Could cpm2_clk_setup and cpm2_set_pin be exported ?
Scott Wood
scottwood at freescale.com
Fri Aug 29 02:41:42 EST 2008
On Thu, Aug 28, 2008 at 05:57:13PM +0200, Laurent Pinchart wrote:
> I'm facing a situation where I need to call cpm2_clk_setup and
> cpm2_set_pin from a device driver compiled as a module. Before
> submitting a patch to export both functions, I'd like to make sure
> there isn't a cleaner way to implement the desired functionality
> without calling functions that are supposed to be used by board setup
> code.
Have you looked at using the GPIO API?
-Scott
More information about the Linuxppc-dev
mailing list