Convert some PCI-e GART related variable to generic types.
authorIan Romanick <idr@us.ibm.com>
Sat, 30 Jun 2007 04:00:50 +0000 (21:00 -0700)
committerIan Romanick <idr@us.ibm.com>
Sat, 30 Jun 2007 04:00:50 +0000 (21:00 -0700)
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.

linux-core/xgi_drv.h

index 8431eb1..3cb6dc7 100644 (file)
@@ -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;