'\" t .\" Title: clk_has_parent .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Clock Framework .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CLK_HAS_PARENT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Clock Framework" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" clk_has_parent \- check if a clock is a possible parent for another .SH "SYNOPSIS" .HP \w'bool\ clk_has_parent('u .BI "bool clk_has_parent(struct\ clk\ *\ " "clk" ", struct\ clk\ *\ " "parent" ");" .SH "ARGUMENTS" .PP \fIclk\fR .RS 4 clock source .RE .PP \fIparent\fR .RS 4 parent clock source .RE .SH "DESCRIPTION" .PP This function can be used in drivers that need to check that a clock can be the parent of another without actually changing the parent\&. .PP Returns true if \fIparent\fR is a possible parent for \fIclk\fR, false otherwise\&. .SH "COPYRIGHT" .br