[alsa-devel] [PATCH 01/10] ASoC: fsl_ssi: Remove unused struct device

Mark Brown broonie at kernel.org
Tue Dec 5 14:04:46 CET 2017


On Mon, Dec 04, 2017 at 12:46:34PM -0800, Nicolin Chen wrote:
> struct device is defined in system level header files any way.
> As long as fsl_ssi.h is included after those header files, it
> should be safe to remove this line.

It's better practice to either directly include those headers or have a
forward declaration like this, it means there's no way things can go
wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171205/cf4466fc/attachment.sig>


More information about the Alsa-devel mailing list