From: Ian Romanick Date: Sat, 30 Jun 2007 04:00:50 +0000 (-0700) Subject: Convert some PCI-e GART related variable to generic types. X-Git-Tag: submit/1.0/20121108.012404~1030^2~119^2~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e206c4c59da0e81ed65796d543c311fc7e30b19a;p=profile%2Fivi%2Flibdrm.git Convert some PCI-e GART related variable to generic types. A few of the PCI-e GART related fields in struct xgi_info were hardcoded to u32. None of them need to be. Convert them to either unsigned int or bool. --- diff --git a/linux-core/xgi_drv.h b/linux-core/xgi_drv.h index 8431eb1..3cb6dc7 100644 --- a/linux-core/xgi_drv.h +++ b/linux-core/xgi_drv.h @@ -131,10 +131,10 @@ struct xgi_info { /* look up table parameters */ U32 *lut_base; - U32 lutPageSize; - U32 lutPageOrder; - U32 isLUTInLFB; - U32 sdfbPageSize; + unsigned int lutPageSize; + unsigned int lutPageOrder; + bool isLUTInLFB; + unsigned int sdfbPageSize; U32 pcie_config; U32 pcie_status;