From: Takashi Iwai Date: Wed, 7 Apr 2010 05:45:46 +0000 (+0200) Subject: ALSA: powermac - Fix obsoleted machine_is_compatible() X-Git-Tag: v2.6.34.11~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37d76df1b10b4d8afc56fc563a23571b522874c6;p=thirdparty%2Fkernel%2Fstable.git ALSA: powermac - Fix obsoleted machine_is_compatible() commit 68c7ccb8f85801655aa681391dc0ee037a2b66d4 upstream. machine_is_compatible() was renamed to of_machine_is_compatible(). Signed-off-by: Takashi Iwai Signed-off-by: Paul Gortmaker --- diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 696280c3c05a5..31efa2119d918 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c @@ -47,7 +47,7 @@ #define DBG(fmt...) #endif -#define IS_G4DA (machine_is_compatible("PowerMac3,4")) +#define IS_G4DA (of_machine_is_compatible("PowerMac3,4")) /* i2c address for tumbler */ #define TAS_I2C_ADDR 0x34