posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / fsl-dcu / fsl_dcu_drm_fbdev.c
blob8b8b819ea704b1ce0714318686ce9c1f64b142ad
1 /*
2 * Copyright 2015 Freescale Semiconductor, Inc.
4 * Freescale DCU drm device driver
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #include <drm/drmP.h>
13 #include <drm/drm_fb_cma_helper.h>
15 #include "fsl_dcu_drm_drv.h"
17 /* initialize fbdev helper */
18 void fsl_dcu_fbdev_init(struct drm_device *dev)
20 struct fsl_dcu_drm_device *fsl_dev = dev_get_drvdata(dev->dev);
22 fsl_dev->fbdev = drm_fbdev_cma_init(dev, 24, 1, 1);