diff options
author | Vladimir Oltean | 2019-05-02 22:23:29 +0200 |
---|---|---|
committer | David S. Miller | 2019-05-03 16:49:17 +0200 |
commit | 554aae35007e49f533d3d10e788295f7141725bc (patch) | |
tree | 188b3a98394b427d9f69e6539f7b3d871ade63b8 /lib/Makefile | |
parent | net: macb: shrink macb_platform_data structure (diff) | |
download | kernel-qcow2-linux-554aae35007e49f533d3d10e788295f7141725bc.tar.gz kernel-qcow2-linux-554aae35007e49f533d3d10e788295f7141725bc.tar.xz kernel-qcow2-linux-554aae35007e49f533d3d10e788295f7141725bc.zip |
lib: Add support for generic packing operations
This provides an unified API for accessing register bit fields
regardless of memory layout. The basic unit of data for these API
functions is the u64. The process of transforming an u64 from native CPU
encoding into the peripheral's encoding is called 'pack', and
transforming it from peripheral to native CPU encoding is 'unpack'.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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 3b08673e8881..7d4db18fabf1 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -108,6 +108,7 @@ obj-$(CONFIG_DEBUG_LIST) += list_debug.o obj-$(CONFIG_DEBUG_OBJECTS) += debugobjects.o obj-$(CONFIG_BITREVERSE) += bitrev.o +obj-$(CONFIG_PACKING) += packing.o obj-$(CONFIG_RATIONAL) += rational.o obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o obj-$(CONFIG_CRC16) += crc16.o |