aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_irq.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-02-11 08:07:33 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-03-01 02:09:10 -0500
commitdfe9cfccb264889b025e443ca20e2fbb401295c2 (patch)
tree8b42d748309d634b25e9310e36456799bf05ca76 /drivers/gpu/drm/omapdrm/omap_irq.c
parentf073d78eeb8efd85718e611c15f9a78647751dea (diff)
drm: omapdrm: Use kernel integer types
The standard kernel integer types are [us]{8,16,32}. Use them instead of the u?int{8,16,32}_t types. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_irq.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
index 53ba424823b2..976dc0e44482 100644
--- a/drivers/gpu/drm/omapdrm/omap_irq.c
+++ b/drivers/gpu/drm/omapdrm/omap_irq.c
@@ -20,7 +20,7 @@
20struct omap_irq_wait { 20struct omap_irq_wait {
21 struct list_head node; 21 struct list_head node;
22 wait_queue_head_t wq; 22 wait_queue_head_t wq;
23 uint32_t irqmask; 23 u32 irqmask;
24 int count; 24 int count;
25}; 25};
26 26
@@ -29,7 +29,7 @@ static void omap_irq_update(struct drm_device *dev)
29{ 29{
30 struct omap_drm_private *priv = dev->dev_private; 30 struct omap_drm_private *priv = dev->dev_private;
31 struct omap_irq_wait *wait; 31 struct omap_irq_wait *wait;
32 uint32_t irqmask = priv->irq_mask; 32 u32 irqmask = priv->irq_mask;
33 33
34 assert_spin_locked(&priv->wait_lock); 34 assert_spin_locked(&priv->wait_lock);
35 35
@@ -48,7 +48,7 @@ static void omap_irq_wait_handler(struct omap_irq_wait *wait)
48} 48}
49 49
50struct omap_irq_wait * omap_irq_wait_init(struct drm_device *dev, 50struct omap_irq_wait * omap_irq_wait_init(struct drm_device *dev,
51 uint32_t irqmask, int count) 51 u32 irqmask, int count)
52{ 52{
53 struct omap_drm_private *priv = dev->dev_private; 53 struct omap_drm_private *priv = dev->dev_private;
54 struct omap_irq_wait *wait = kzalloc(sizeof(*wait), GFP_KERNEL); 54 struct omap_irq_wait *wait = kzalloc(sizeof(*wait), GFP_KERNEL);