diff mbox

[RFC,1/3] sound: ac97: Add GPIO manipulation hooks

Message ID 1276617347-3522-2-git-send-email-manuel.lauss@googlemail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Manuel Lauss June 15, 2010, 3:55 p.m. UTC
None
diff mbox

Patch

diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
index 4940045..db3aee1 100644
--- a/include/sound/ac97_codec.h
+++ b/include/sound/ac97_codec.h
@@ -437,6 +437,8 @@  struct snd_ac97_bus_ops {
 	unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg);
 	void (*wait) (struct snd_ac97 *ac97);
 	void (*init) (struct snd_ac97 *ac97);
+	void (*setgpio) (struct snd_ac97 *ac97, unsigned short gpio);
+	unsigned short (*getgpio) (struct snd_ac97 *ac97);
 };
 
 struct snd_ac97_bus {