diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2011-01-05 19:23:53 +0100 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2011-01-13 22:38:46 +0100 |
commit | 01a678c5a2f41663b8faf03d17e2bbdbf44158a9 (patch) | |
tree | ec93dc906fae7acfb7355bdc7ea690cde702ad83 /fs/squashfs/decompressor.h | |
parent | Squashfs: move squashfs_i() definition from squashfs.h (diff) | |
download | linux-01a678c5a2f41663b8faf03d17e2bbdbf44158a9.tar.xz linux-01a678c5a2f41663b8faf03d17e2bbdbf44158a9.zip |
Squashfs: simplify CONFIG_SQUASHFS_LZO handling
Get rid of messy repeated #if(n)def CONFIG_SQUASHFS_LZO code
in decompressor.c
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/decompressor.h')
-rw-r--r-- | fs/squashfs/decompressor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/squashfs/decompressor.h b/fs/squashfs/decompressor.h index 57e1acb4c6a9..3b305a70f7aa 100644 --- a/fs/squashfs/decompressor.h +++ b/fs/squashfs/decompressor.h @@ -57,4 +57,8 @@ static inline int squashfs_decompress(struct squashfs_sb_info *msblk, extern const struct squashfs_decompressor squashfs_xz_comp_ops; #endif +#ifdef CONFIG_SQUASHFS_LZO +extern const struct squashfs_decompressor squashfs_lzo_comp_ops; +#endif + #endif |