ASoC: ux500: forward declare msp_i2s_platform_data
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 16:30:40 +0000 (18:30 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Apr 2013 18:24:48 +0000 (19:24 +0100)
commitd74bf3fa8e85f8f80738d93396d8aab3871eae1e
tree3d85ee40a3bdec80aa1d967cc23f808c68795e4d
parent60d509fa6a9c4653a86ad830e4c4b30360b23f0e
ASoC: ux500: forward declare msp_i2s_platform_data

We get a lot of build warnings from the msp driver like:

In file included from sound/soc/ux500/ux500_msp_dai.h:21:0,
                 from sound/soc/ux500/mop500.c:25:
sound/soc/ux500/ux500_msp_i2s.h:546:11: warning: 'struct msp_i2s_platform_data' declared inside parameter list [enabled by default]
    struct msp_i2s_platform_data *platform_data);
           ^
sound/soc/ux500/ux500_msp_i2s.h:546:11: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]

The easiest solution is to add a declaration of the struct name.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ux500/ux500_msp_i2s.h