Martin Michlmayr wrote:
> drm/ttm fails to build on MIPS because "struct page" is not known:
> | In file included from drivers/gpu/drm/ttm/ttm_memory.c:28:
> | include/drm/ttm/ttm_memory.h:154: warning: 'struct page' declared inside
> parameter list
> | include/drm/ttm/ttm_memory.h:154: warning: i
* Thomas Hellstrom [2009-11-19 14:49]:
> Sorry for not reviewing this earlier, but what about including the
> include file that defines
> struct page instead of a separate declaration?
Sure, I can send such a patch.
--
Martin Michlmayr
http://www.cyrius.com/
drm/ttm fails to build on MIPS because "struct page" is not known:
| In file included from drivers/gpu/drm/ttm/ttm_memory.c:28:
| include/drm/ttm/ttm_memory.h:154: warning: 'struct page' declared inside
parameter list
| include/drm/ttm/ttm_memory.h:154: warning: its scope is only this definition
drm/ttm fails to build on MIPS because "struct page" is not known:
| In file included from drivers/gpu/drm/ttm/ttm_memory.c:28:
| include/drm/ttm/ttm_memory.h:154: warning: 'struct page' declared inside
parameter list
| include/drm/ttm/ttm_memory.h:154: warning: its scope is only this definition
Martin,
Sorry for not reviewing this earlier, but what about including the
include file that defines
struct page instead of a separate declaration?
/Thomas
Martin Michlmayr wrote:
> drm/ttm fails to build on MIPS because "struct page" is not known:
> | In file included from drivers/gpu/drm/tt
drm/ttm fails to build on MIPS because "struct page" is not known:
| In file included from drivers/gpu/drm/ttm/ttm_memory.c:28:
| include/drm/ttm/ttm_memory.h:154: warning: 'struct page' declared inside
parameter list
| include/drm/ttm/ttm_memory.h:154: warning: its scope is only this definition