summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorOskar Schirmer <os@emlix.com>2009-06-11 14:51:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 08:51:08 -0700
commit8759ef32d992fc6c0bcbe40fca7aa302190918a5 (patch)
tree316df64d3456597bf7f8ef7508654c82faf6a5fe /lib/Kconfig
parent9f322ad064f9210e7d472dfe77e702274d5c9dba (diff)
downloadlinux-3.10-8759ef32d992fc6c0bcbe40fca7aa302190918a5.tar.gz
linux-3.10-8759ef32d992fc6c0bcbe40fca7aa302190918a5.tar.bz2
linux-3.10-8759ef32d992fc6c0bcbe40fca7aa302190918a5.zip
lib: isolate rational fractions helper function
Provide a helper function to determine optimum numerator denominator value pairs taking into account restricted register size. Useful especially with PLL and other clock configurations. Signed-off-by: Oskar Schirmer <os@emlix.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 8ade0a7a91e..9960be04cbb 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -10,6 +10,9 @@ menu "Library routines"
config BITREVERSE
tristate
+config RATIONAL
+ boolean
+
config GENERIC_FIND_FIRST_BIT
bool