This is quick rework of the patch Uwe proposed but using Kconfig not
ifdefs and user selection to sort out PATA support. Instead of ifdefs and
requiring the user to select both drivers the SATA driver selects the
PATA one.
For neatness I've also moved the extern into the function that uses it.
Two questions really
1. Do you want the extern in a header file
2. Is this now neat enough to keep you happy Jeff or shall I do
the library split anyway ?
Please let me know so I can fire off new versions and try and get
this one submitted for good today.
Signed-off-by: Alan Cox