[PATCH 1/2 v3] Driver for Freescale 8610 and 5121 DIU

Andrew Morton akpm at linux-foundation.org
Thu Mar 27 18:54:03 EST 2008


On Tue, 25 Mar 2008 16:27:17 -0500 York Sun <yorksun at freescale.com> wrote:

> +#if defined(CONFIG_NOT_COHERENT_CACHE)
> +unsigned int *coherence_data;
> +phys_addr_t *coherence_data_phy;
> +#endif

These identifiers are too general for use as global symbols.  I'd suggest
renaming them to diu_coherence_data and diu_coherence_data_phy.  Or make
them static - I didn't check.

I'll duck this version of the patches, as Scott's comments looked rather
substantial.




More information about the Linuxppc-dev mailing list