libata: Updates and fixes for pata_at91 driver
authorSergey Matyukevich <geomatsi@gmail.com>
Thu, 16 Jul 2009 18:38:55 +0000 (22:38 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 29 Jul 2009 01:07:05 +0000 (21:07 -0400)
commit7d084d96fdf1d791cb171da57efc1ca89d68dd6c
tree8623f01cdaf6000bb95a7a8e3edb55ba3415c4b2
parent760cdb7760be928e85a021552253eb1b39acdf37
libata: Updates and fixes for pata_at91 driver

Please consider the following updates and fixes for pata_at91 driver.

* Removed extra headers
Here we need only static memory controller properties, which are
contained in generic header at91sam9_smc.h.
No need to include any specific headers for at91sam9260 SoC.

* No harsh BUG_ON for get_clk in set_smc_timing function
        get_clk is now performed in driver probing function,
        probing fails if master clock is not available

* Fixed uint/ulong mess in calc_mck_cycles function

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_at91.c