File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1952,9 +1952,9 @@ static bool dw_mci_clear_pending_data_complete(struct dw_mci *host)
1952
1952
return true;
1953
1953
}
1954
1954
1955
- static void dw_mci_tasklet_func (unsigned long priv )
1955
+ static void dw_mci_tasklet_func (struct tasklet_struct * t )
1956
1956
{
1957
- struct dw_mci * host = ( struct dw_mci * ) priv ;
1957
+ struct dw_mci * host = from_tasklet ( host , t , tasklet ) ;
1958
1958
struct mmc_data * data ;
1959
1959
struct mmc_command * cmd ;
1960
1960
struct mmc_request * mrq ;
@@ -3308,7 +3308,7 @@ int dw_mci_probe(struct dw_mci *host)
3308
3308
else
3309
3309
host -> fifo_reg = host -> regs + DATA_240A_OFFSET ;
3310
3310
3311
- tasklet_init (& host -> tasklet , dw_mci_tasklet_func , ( unsigned long ) host );
3311
+ tasklet_setup (& host -> tasklet , dw_mci_tasklet_func );
3312
3312
ret = devm_request_irq (host -> dev , host -> irq , dw_mci_interrupt ,
3313
3313
host -> irq_flags , "dw-mci" , host );
3314
3314
if (ret )
You can’t perform that action at this time.
0 commit comments