]> err.no Git - linux-2.6/commit
ide: convert ide-timing.h to ide-timings.c library (take 2)
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:37 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:37 +0000 (20:33 +0200)
commitf06ab3402aa2d6de060442c1053ea10b24b65076
tree400f7ff5a79e75b82a7ba0daaf669f5d38f7c679
parent2c139e7a7152f66ff93b173f8770c94ea53a691e
ide: convert ide-timing.h to ide-timings.c library (take 2)

* Don't include ide-timing.h in cs5535 and sis5513 host drivers
  (they don't need it currently).

* Convert ide-timing.h to ide-timings.c library and add CONFIG_IDE_TIMINGS
  config option to be selected by host drivers using the library.

While at it:

- fix ide_timing_find_mode() placement

v2:
* Add missing EXPORT_SYMBOLs. (Stephen Rothwell <sfr@canb.auug.org.au>)

There should be no functional changes caused by this patch.

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig
drivers/ide/Makefile
drivers/ide/arm/palm_bk3710.c
drivers/ide/ide-timings.c [moved from drivers/ide/ide-timing.h with 92% similarity]
drivers/ide/pci/amd74xx.c
drivers/ide/pci/cs5535.c
drivers/ide/pci/sis5513.c
drivers/ide/pci/via82cxxx.c
drivers/ide/ppc/pmac.c
include/linux/ide.h