linux/drivers/macintosh
Bartlomiej Zolnierkiewicz 34394e45c3 ppc: fix #ifdef-s in mediabay driver (take 2)
* Replace incorrect CONFIG_BLK_DEV_IDE #ifdef in
  check_media_bay() by CONFIG_MAC_FLOPPY one.

* Replace incorrect CONFIG_BLK_DEV_IDE #ifdef-s by
  CONFIG_BLK_DEV_IDE_PMAC ones.

* check_media_bay() is used only by drivers/block/swim3.c
  so make this function available only if CONFIG_MAC_FLOPPY
  is defined.

* check_media_bay_by_base() and media_bay_set_ide_infos()
  are used only by drivers/ide/ppc/pmac.c so so make these
  functions available only if CONFIG_MAC_FLOPPY is defined.

v2:
* Remove ifdefs from function prototypes. (Andrew Morton)

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-06 02:57:50 +01:00
..
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-10-12 21:27:47 -04:00
Makefile
adb-iop.c [POWERPC] Remove old includes from arch/ppc 2007-08-22 22:39:35 -05:00
adb.c ADB: Add missing #include <linux/platform_device.h> 2008-02-04 07:51:23 -08:00
adbhid.c macintosh: fix fabrication of caplock key events 2008-01-14 08:52:22 -08:00
ans-lcd.c [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
ans-lcd.h [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
apm_emu.c
mac_hid.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
macio-adb.c
macio_asic.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
macio_sysfs.c
mediabay.c ppc: fix #ifdef-s in mediabay driver (take 2) 2008-02-06 02:57:50 +01:00
nvram.c
rack-meter.c [POWERPC] Clean up duplicate includes in drivers/macintosh/ 2007-07-22 21:31:00 +10:00
smu.c drivers/macintosh/: Spelling fixes 2008-02-03 17:18:02 +02:00
therm_adt746x.c [POWERPC] therm_adt746x: Eliminate some build warnings 2008-01-17 14:57:31 +11:00
therm_pm72.c [POWERPC] therm_pm72: Suppress some compile warnings 2008-01-17 14:57:12 +11:00
therm_pm72.h
therm_windtunnel.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
via-cuda.c
via-macii.c mac68k: macii adb comment correction 2008-02-05 09:44:24 -08:00
via-maciisi.c
via-pmu-backlight.c [POWERPC] Fix for via-pmu based backlight control 2007-12-21 22:14:07 +11:00
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c
via-pmu.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
via-pmu68k.c remove dead code in via-pmu68k 2007-08-22 19:52:45 -07:00
windfarm.h
windfarm_core.c [POWERPC] windfarm: Fix windfarm thread freezer interaction 2007-11-08 14:15:34 +11:00
windfarm_cpufreq_clamp.c
windfarm_lm75_sensor.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
windfarm_max6690_sensor.c
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_smu_controls.c
windfarm_smu_sat.c [POWERPC] Comment out a currently unused function 2007-08-17 11:01:59 +10:00
windfarm_smu_sensors.c