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

Nicolin Chen nicoleotsuka at gmail.com
Wed Dec 6 06:39:13 AEDT 2017


On Tue, Dec 05, 2017 at 01:04:46PM +0000, Mark Brown wrote:
> 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.

I see. I will drop this patch then.


More information about the Linuxppc-dev mailing list