#include <linux/string.h>
#include <linux/module.h>
+#include <linux/tty.h>
#include <linux/fb.h>
#include <linux/slab.h>
* Allocates memory for a colormap @cmap. @len is the
* number of entries in the palette.
*
- * Returns negative errno on error, or zero on success.
+ * Returns -1 errno on error, or zero on success.
*
*/
fail:
fb_dealloc_cmap(cmap);
- return -ENOMEM;
+ return -1;
}
/**