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 @@ -540,9 +540,9 @@ static void do_pio_write(struct s3cmci_host *host)
540
540
enable_imask (host , S3C2410_SDIIMSK_TXFIFOHALF );
541
541
}
542
542
543
- static void pio_tasklet (unsigned long data )
543
+ static void pio_tasklet (struct tasklet_struct * t )
544
544
{
545
- struct s3cmci_host * host = ( struct s3cmci_host * ) data ;
545
+ struct s3cmci_host * host = from_tasklet ( host , t , pio_tasklet ) ;
546
546
547
547
s3cmci_disable_irq (host , true);
548
548
@@ -1532,7 +1532,7 @@ static int s3cmci_probe(struct platform_device *pdev)
1532
1532
host -> pdata = pdev -> dev .platform_data ;
1533
1533
1534
1534
spin_lock_init (& host -> complete_lock );
1535
- tasklet_init (& host -> pio_tasklet , pio_tasklet , ( unsigned long ) host );
1535
+ tasklet_setup (& host -> pio_tasklet , pio_tasklet );
1536
1536
1537
1537
if (host -> is2440 ) {
1538
1538
host -> sdiimsk = S3C2440_SDIIMSK ;
You can’t perform that action at this time.
0 commit comments