[PATCH 03/12] mmc: dw_mmc: fix building exynos driver as a module

Will Newton will.newton at gmail.com
Mon Oct 1 07:05:45 EDT 2012


On Fri, Sep 28, 2012 at 10:36 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> The MODULE_DEVICE_TABLE() entry in the dw_mmc_exynos driver
> points to the wrong symbol which results in a link error
> when building as a loadable module.
>
> Further, we get a warning about the driver_data being
> marked constant, which requires annotating a few pointers
> as const.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Chris Ball <cjb at laptop.org>
> Cc: Thomas Abraham <thomas.abraham at linaro.org>
> Cc: Will Newton <will.newton at imgtec.com>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Seungwon Jeon <tgih.jun at samsung.com>
> Cc: Kyungmin Park <kyungmin.park at samsung.com>
> Cc: linux-mmc at vger.kernel.org
> ---
>  drivers/mmc/host/dw_mmc-exynos.c |    4 ++--
>  drivers/mmc/host/dw_mmc-pltfm.c  |    2 +-
>  drivers/mmc/host/dw_mmc-pltfm.h  |    2 +-
>  drivers/mmc/host/dw_mmc.c        |    2 +-
>  include/linux/mmc/dw_mmc.h       |    2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)

This looks ok to me, but I'll let one of the Exynos guys ack those
specific changes as I don't have the hardware.

There's already a patch for the dev_info warning in dw_mmc.c frm
Seungwon Jeon, and it seems to me like a separate change but I don't
really mind how it gets merged.



More information about the linux-arm-kernel mailing list