aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_pcie.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-09 18:54:25 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-09 18:54:25 -0700
commit76ca1e858fb8e1a65ea49c0c62350d7ca91044a2 (patch)
tree0786d8f0f6a611522f3e810417dd3f52b11e8ddf /linux-core/xgi_pcie.c
parenta9c49be6f8a0aa199a9dc0ffd0a9aa2b85cd796d (diff)
Convert occurances of U32 to other types.
Most occurances of U32 were converted to u32. These are cases where the data represents something that will be written to the hardware. Other cases were converted to 'unsigned int'. U32 was the last type in xgi_types.h, so that file is removed.
Diffstat (limited to 'linux-core/xgi_pcie.c')
-rw-r--r--linux-core/xgi_pcie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-core/xgi_pcie.c b/linux-core/xgi_pcie.c
index 0f82e4ec..70459b2c 100644
--- a/linux-core/xgi_pcie.c
+++ b/linux-core/xgi_pcie.c
@@ -26,7 +26,6 @@
* DEALINGS IN THE SOFTWARE.
***************************************************************************/
-#include "xgi_types.h"
#include "xgi_linux.h"
#include "xgi_drv.h"
#include "xgi_regs.h"
@@ -420,7 +419,7 @@ static struct xgi_pcie_block *xgi_pcie_mem_alloc(struct xgi_info * info,
struct page *page;
unsigned long page_order = 0, count = 0, index = 0;
unsigned long page_addr = 0;
- unsigned long *lut_addr = NULL;
+ u32 *lut_addr = NULL;
unsigned long lut_id = 0;
unsigned long size = (originalSize + PAGE_SIZE - 1) & PAGE_MASK;
int i, j, page_count = 0;