diff options
author | Ezequiel Garcia | 2019-05-25 19:25:22 -0300 |
---|---|---|
committer | Tom Rini | 2019-07-13 11:11:26 -0400 |
commit | d66fb5b1f6662a8aa5f78994696994c2594dbb22 (patch) | |
tree | 8aca15fa6816e8b283ecf04caf4af04b0b8d5387 /drivers/rtc/ds1307.c | |
parent | bf7c01d92b8458524190f585b20748f470bc9418 (diff) |
mmc: Register only the first MMC device on MMC_TINY
When MMC_TINY is enabled, support for only one MMC device
is provided. Boards that register more than one device,
will just write over mmc_static keeping only the last one
registered.
This commit prevents this, keeping only the first MMC
device created. A debug warning message is added, if nothing
else, as a hint/documentation for developers.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Diffstat (limited to 'drivers/rtc/ds1307.c')
0 files changed, 0 insertions, 0 deletions