aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/keywest.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/keywest.c')
-rw-r--r--sound/ppc/keywest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c
index df073a05b5d7..097fbcfc5d45 100644
--- a/sound/ppc/keywest.c
+++ b/sound/ppc/keywest.c
@@ -32,7 +32,7 @@
32 * we have to keep a static variable here since i2c attach_adapter 32 * we have to keep a static variable here since i2c attach_adapter
33 * callback cannot pass a private data. 33 * callback cannot pass a private data.
34 */ 34 */
35static pmac_keywest_t *keywest_ctx; 35static struct pmac_keywest *keywest_ctx;
36 36
37 37
38#define I2C_DRIVERID_KEYWEST 0xFEBA 38#define I2C_DRIVERID_KEYWEST 0xFEBA
@@ -106,7 +106,7 @@ static int keywest_detach_client(struct i2c_client *client)
106} 106}
107 107
108/* exported */ 108/* exported */
109void snd_pmac_keywest_cleanup(pmac_keywest_t *i2c) 109void snd_pmac_keywest_cleanup(struct pmac_keywest *i2c)
110{ 110{
111 if (keywest_ctx && keywest_ctx == i2c) { 111 if (keywest_ctx && keywest_ctx == i2c) {
112 i2c_del_driver(&keywest_driver); 112 i2c_del_driver(&keywest_driver);
@@ -126,7 +126,7 @@ int __init snd_pmac_tumbler_post_init(void)
126} 126}
127 127
128/* exported */ 128/* exported */
129int __init snd_pmac_keywest_init(pmac_keywest_t *i2c) 129int __init snd_pmac_keywest_init(struct pmac_keywest *i2c)
130{ 130{
131 int err; 131 int err;
132 132