5 #include <linux/kernel.h>
6 #include <linux/module.h>
7 #include <linux/nx842.h>
9 #include <linux/slab.h>
15 int (*compress)(const unsigned char *in, unsigned int in_len,
16 unsigned char *out, unsigned int *out_len,
18 int (*decompress)(const unsigned char *in, unsigned int in_len,
19 unsigned char *out, unsigned int *out_len,
23 void nx842_register_driver(struct nx842_driver *driver);
24 void nx842_unregister_driver(struct nx842_driver *driver);
27 /* To allow the main nx-compress module to load platform module */
28 #define NX842_PSERIES_MODULE_NAME "nx-compress-pseries"
29 #define NX842_PSERIES_COMPAT_NAME "ibm,compression"
32 #endif /* __NX_842_H__ */