summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/intel_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/gma500/intel_i2c.c')
-rw-r--r--drivers/gpu/drm/gma500/intel_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/intel_i2c.c b/drivers/gpu/drm/gma500/intel_i2c.c
index e121c7c27638..ab8217796817 100644
--- a/drivers/gpu/drm/gma500/intel_i2c.c
+++ b/drivers/gpu/drm/gma500/intel_i2c.c
@@ -107,7 +107,7 @@ struct gma_i2c_chan *gma_i2c_create(struct drm_device *dev, const u32 reg,
{
struct gma_i2c_chan *chan;
- chan = kzalloc_obj(struct gma_i2c_chan, GFP_KERNEL);
+ chan = kzalloc_obj(struct gma_i2c_chan);
if (!chan)
goto out_free;