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

« back to all changes in this revision

Viewing changes to sound/soc/fsl/mpc5200_psc_i2s.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:
150
150
 * - Probe/remove operations
151
151
 * - OF device match table
152
152
 */
153
 
static int __devinit psc_i2s_of_probe(struct platform_device *op,
154
 
                                      const struct of_device_id *match)
 
153
static int __devinit psc_i2s_of_probe(struct platform_device *op)
155
154
{
156
155
        int rc;
157
156
        struct psc_dma *psc_dma;
213
212
};
214
213
MODULE_DEVICE_TABLE(of, psc_i2s_match);
215
214
 
216
 
static struct of_platform_driver psc_i2s_driver = {
 
215
static struct platform_driver psc_i2s_driver = {
217
216
        .probe = psc_i2s_of_probe,
218
217
        .remove = __devexit_p(psc_i2s_of_remove),
219
218
        .driver = {
229
228
 */
230
229
static int __init psc_i2s_init(void)
231
230
{
232
 
        return of_register_platform_driver(&psc_i2s_driver);
 
231
        return platform_driver_register(&psc_i2s_driver);
233
232
}
234
233
module_init(psc_i2s_init);
235
234
 
236
235
static void __exit psc_i2s_exit(void)
237
236
{
238
 
        of_unregister_platform_driver(&psc_i2s_driver);
 
237
        platform_driver_unregister(&psc_i2s_driver);
239
238
}
240
239
module_exit(psc_i2s_exit);
241
240