diff options
author | Oskar Schirmer <os@emlix.com> | 2009-06-11 15:51:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 17:51:08 +0200 |
commit | 8759ef32d992fc6c0bcbe40fca7aa302190918a5 (patch) | |
tree | 316df64d3456597bf7f8ef7508654c82faf6a5fe /lib/Makefile | |
parent | imx: serial: handle initialisation failure correctly (diff) | |
download | linux-8759ef32d992fc6c0bcbe40fca7aa302190918a5.tar.xz linux-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/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 33a40e40e3ee..1f6edefebffe 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -50,6 +50,7 @@ ifneq ($(CONFIG_HAVE_DEC_LOCK),y) endif obj-$(CONFIG_BITREVERSE) += bitrev.o +obj-$(CONFIG_RATIONAL) += rational.o obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o obj-$(CONFIG_CRC16) += crc16.o obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o |