~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to sound/sparc/dbri.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
2592
2592
                                  (void *)dbri->dma, dbri->dma_dvma);
2593
2593
}
2594
2594
 
2595
 
static int __devinit dbri_probe(struct platform_device *op, const struct of_device_id *match)
 
2595
static int __devinit dbri_probe(struct platform_device *op)
2596
2596
{
2597
2597
        struct snd_dbri *dbri;
2598
2598
        struct resource *rp;
2686
2686
 
2687
2687
MODULE_DEVICE_TABLE(of, dbri_match);
2688
2688
 
2689
 
static struct of_platform_driver dbri_sbus_driver = {
 
2689
static struct platform_driver dbri_sbus_driver = {
2690
2690
        .driver = {
2691
2691
                .name = "dbri",
2692
2692
                .owner = THIS_MODULE,
2699
2699
/* Probe for the dbri chip and then attach the driver. */
2700
2700
static int __init dbri_init(void)
2701
2701
{
2702
 
        return of_register_platform_driver(&dbri_sbus_driver);
 
2702
        return platform_driver_register(&dbri_sbus_driver);
2703
2703
}
2704
2704
 
2705
2705
static void __exit dbri_exit(void)
2706
2706
{
2707
 
        of_unregister_platform_driver(&dbri_sbus_driver);
 
2707
        platform_driver_unregister(&dbri_sbus_driver);
2708
2708
}
2709
2709
 
2710
2710
module_init(dbri_init);