File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2042,7 +2042,7 @@ atmel_smc_nand_controller_init(struct atmel_smc_nand_controller *nc)
20422042 return ret ;
20432043 }
20442044
2045- nc -> ebi_csa_offs = (unsigned int )match -> data ;
2045+ nc -> ebi_csa_offs = (uintptr_t )match -> data ;
20462046
20472047 /*
20482048 * The at91sam9263 has 2 EBIs, if the NAND controller is under EBI1
@@ -2211,9 +2211,9 @@ atmel_hsmc_nand_controller_init(struct atmel_hsmc_nand_controller *nc)
22112211 return - ENOMEM ;
22122212 }
22132213
2214- nc -> sram .virt = gen_pool_dma_alloc (nc -> sram .pool ,
2215- ATMEL_NFC_SRAM_SIZE ,
2216- & nc -> sram .dma );
2214+ nc -> sram .virt = ( void __iomem * ) gen_pool_dma_alloc (nc -> sram .pool ,
2215+ ATMEL_NFC_SRAM_SIZE ,
2216+ & nc -> sram .dma );
22172217 if (!nc -> sram .virt ) {
22182218 dev_err (nc -> base .dev ,
22192219 "Could not allocate memory from the NFC SRAM pool\n" );
You can’t perform that action at this time.
0 commit comments