* [PATCH] drm/ttm: fix function prototype to match implementation
@ 2010-02-24 22:29 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2010-02-24 22:29 UTC (permalink / raw)
To: lkml; +Cc: David Airlie
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix function prototype to match its actual usage and implementation.
drivers/gpu/drm/ttm/ttm_bo_util.c:341:10: error: symbol 'ttm_io_prot' redeclared with different type (originally declared at include/drm/ttm/ttm_bo_driver.h:911) - incompatible argument 1 (different signedness)
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Airlie <airlied@linux.ie>
---
include/drm/ttm/ttm_bo_driver.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.33-rc8-git8.orig/include/drm/ttm/ttm_bo_driver.h
+++ linux-2.6.33-rc8-git8/include/drm/ttm/ttm_bo_driver.h
@@ -908,7 +908,7 @@ extern int ttm_bo_move_accel_cleanup(str
* Utility function that returns the pgprot_t that should be used for
* setting up a PTE with the caching model indicated by @c_state.
*/
-extern pgprot_t ttm_io_prot(enum ttm_caching_state c_state, pgprot_t tmp);
+extern pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
#if (defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE)))
#define TTM_HAS_AGP
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-24 22:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-24 22:29 [PATCH] drm/ttm: fix function prototype to match implementation Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®