ARM: 6033/1: ARM: MMCI: pass max frequency from platform
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 8 Apr 2010 06:39:38 +0000 (07:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Apr 2010 15:08:18 +0000 (16:08 +0100)
commit808d97ccbe8e8251b1435e86c762965fd7e8a75e
treeb45e594937a226c4d346240f9d3387c4cd8e5b8a
parent771dc157e06d69fcece0b2c8a29b9010345d8e9a
ARM: 6033/1: ARM: MMCI: pass max frequency from platform

This introduce the field f_max into the mmci_platform_data,
making it possible to pass in a desired block clocking frequency
from a board configuration. This is often more desirable than
using a module parameter. We keep the module parameter as a
fallback as well as the default frequency specified for this
parameter if a parameter is not provided.

This also adds some kerneldoc style documentation to the
platform data struct in mmci.h.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
include/linux/amba/mmci.h