lkml.org 
[lkml]   [2011]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging, gma500: Fix warning in power.c
On Fri, 23 Dec 2011 00:46:45 +0600
Rakib Mullick <rakib.mullick@gmail.com> wrote:

> gma_resume_display() wants 'struct pci_dev *' as it's parameter, so
> lets pass dev->pdev instead of dev. Fixes the following warning.
>
> drivers/staging/gma500/power.c: In function ‘gma_power_begin’:
> drivers/staging/gma500/power.c:269:3: warning: passing argument 1 of
> ‘gma_resume_display’ from incompatible pointer type
> drivers/staging/gma500/power.c:99:13: note: expected ‘struct pci_dev
> *’ but argument is of type ‘struct drm_device *’

This staging driver is now dead and replaced with
drivers/gpu/drm/gma500/. Thanks for the fix however

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-12-28 14:55    [W:0.053 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site