diff options
author | Jonas Bonn <jonas.bonn@gmail.com> | 2008-11-19 17:10:56 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:10:56 +0000 |
commit | 91c639638bb2b7d0cc4d4235528aec653e2e4570 (patch) | |
tree | 962e1b1522a8481566c903f75091215bfd9e8274 /arch/arm/plat-s3c24xx/neo1973_pm_bt.c | |
parent | 2fcce1707dfa7242daafaa825cace1bebd3452e1 (diff) |
Fix build warnings that depend on machine configuration
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Diffstat (limited to 'arch/arm/plat-s3c24xx/neo1973_pm_bt.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/neo1973_pm_bt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_bt.c b/arch/arm/plat-s3c24xx/neo1973_pm_bt.c index c833a74425d..de0faf20d3b 100644 --- a/arch/arm/plat-s3c24xx/neo1973_pm_bt.c +++ b/arch/arm/plat-s3c24xx/neo1973_pm_bt.c @@ -86,7 +86,9 @@ static ssize_t bt_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) { unsigned long on = simple_strtoul(buf, NULL, 10); +#ifdef CONFIG_MACH_NEO1973_GTA02 unsigned int vol; +#endif if (!strcmp(attr->attr.name, "power_on")) { switch (machine_arch_type) { |