CLK_ADD_ALIAS

Section: Clock Framework (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

clk_add_alias - add a new clock alias  

SYNOPSIS

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

ARGUMENTS

alias

name for clock alias

alias_dev_name

device name

id

platform specific clock name

dev

device
 

DESCRIPTION

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

COPYRIGHT