Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
clk.h File Reference
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/notifier.h>

Go to the source code of this file.


int clk_add_alias (const char *alias, const char *alias_dev_name, char *id, struct device *dev)

Function Documentation

int clk_add_alias ( const char alias,
const char alias_dev_name,
char id,
struct device dev 

clk_add_alias - add a new clock alias : name for clock alias : device name : platform specific clock name : device

Allows using generic clock names for drivers by adding a new alias. Assumes clkdev, see clkdev.h for more info.

Definition at line 239 of file clkdev.c.