diff options
Diffstat (limited to 'sound/ppc/pmac.h')
-rw-r--r-- | sound/ppc/pmac.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/ppc/pmac.h b/sound/ppc/pmac.h index a699b01210ee..dc6c99dd14e7 100644 --- a/sound/ppc/pmac.h +++ b/sound/ppc/pmac.h | |||
@@ -60,7 +60,8 @@ typedef struct snd_pmac_dbdma pmac_dbdma_t; | |||
60 | * DBDMA space | 60 | * DBDMA space |
61 | */ | 61 | */ |
62 | struct snd_pmac_dbdma { | 62 | struct snd_pmac_dbdma { |
63 | unsigned long addr; | 63 | dma_addr_t dma_base; |
64 | dma_addr_t addr; | ||
64 | struct dbdma_cmd __iomem *cmds; | 65 | struct dbdma_cmd __iomem *cmds; |
65 | void *space; | 66 | void *space; |
66 | int size; | 67 | int size; |
@@ -101,6 +102,7 @@ struct snd_pmac { | |||
101 | 102 | ||
102 | /* h/w info */ | 103 | /* h/w info */ |
103 | struct device_node *node; | 104 | struct device_node *node; |
105 | struct pci_dev *pdev; | ||
104 | unsigned int revision; | 106 | unsigned int revision; |
105 | unsigned int manufacturer; | 107 | unsigned int manufacturer; |
106 | unsigned int subframe; | 108 | unsigned int subframe; |
@@ -110,6 +112,7 @@ struct snd_pmac { | |||
110 | unsigned int has_iic : 1; | 112 | unsigned int has_iic : 1; |
111 | unsigned int is_pbook_3400 : 1; | 113 | unsigned int is_pbook_3400 : 1; |
112 | unsigned int is_pbook_G3 : 1; | 114 | unsigned int is_pbook_G3 : 1; |
115 | unsigned int is_k2 : 1; | ||
113 | 116 | ||
114 | unsigned int can_byte_swap : 1; | 117 | unsigned int can_byte_swap : 1; |
115 | unsigned int can_duplex : 1; | 118 | unsigned int can_duplex : 1; |
@@ -157,6 +160,7 @@ struct snd_pmac { | |||
157 | snd_kcontrol_t *speaker_sw_ctl; | 160 | snd_kcontrol_t *speaker_sw_ctl; |
158 | snd_kcontrol_t *drc_sw_ctl; /* only used for tumbler -ReneR */ | 161 | snd_kcontrol_t *drc_sw_ctl; /* only used for tumbler -ReneR */ |
159 | snd_kcontrol_t *hp_detect_ctl; | 162 | snd_kcontrol_t *hp_detect_ctl; |
163 | snd_kcontrol_t *lineout_sw_ctl; | ||
160 | 164 | ||
161 | /* lowlevel callbacks */ | 165 | /* lowlevel callbacks */ |
162 | void (*set_format)(pmac_t *chip); | 166 | void (*set_format)(pmac_t *chip); |