~diwic/sound-2.6/filtered

« back to all changes in this revision

Viewing changes to soc/codecs/sgtl5000.c

  • Committer: Takashi Iwai
  • Date: 2011-08-12 17:48:16 UTC
  • mfrom: (2927.505.40)
  • Revision ID: git-v1:2b3eb625c1695190b9e9bad701b026d53606f4c6
Merge branch 'topic/asoc'

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <linux/regulator/driver.h>
21
21
#include <linux/regulator/machine.h>
22
22
#include <linux/regulator/consumer.h>
 
23
#include <linux/of_device.h>
23
24
#include <sound/core.h>
24
25
#include <sound/tlv.h>
25
26
#include <sound/pcm.h>
1436
1437
 
1437
1438
MODULE_DEVICE_TABLE(i2c, sgtl5000_id);
1438
1439
 
 
1440
static const struct of_device_id sgtl5000_dt_ids[] = {
 
1441
        { .compatible = "fsl,sgtl5000", },
 
1442
        { /* sentinel */ }
 
1443
};
 
1444
MODULE_DEVICE_TABLE(of, sgtl5000_dt_ids);
 
1445
 
1439
1446
static struct i2c_driver sgtl5000_i2c_driver = {
1440
1447
        .driver = {
1441
1448
                   .name = "sgtl5000",
1442
1449
                   .owner = THIS_MODULE,
 
1450
                   .of_match_table = sgtl5000_dt_ids,
1443
1451
                   },
1444
1452
        .probe = sgtl5000_i2c_probe,
1445
1453
        .remove = __devexit_p(sgtl5000_i2c_remove),