Fix some PS3 build warnings reported by `make C=1'.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
* @size is rounded down to a multiple of the vas large page size.
*/
* @size is rounded down to a multiple of the vas large page size.
*/
-int ps3_mm_region_create(struct mem_region *r, unsigned long size)
+static int ps3_mm_region_create(struct mem_region *r, unsigned long size)
{
int result;
unsigned long muid;
{
int result;
unsigned long muid;
* @r: pointer to struct mem_region
*/
* @r: pointer to struct mem_region
*/
-void ps3_mm_region_destroy(struct mem_region *r)
+static void ps3_mm_region_destroy(struct mem_region *r)
* This is the common dma unmap routine.
*/
* This is the common dma unmap routine.
*/
-int dma_sb_unmap_area(struct ps3_dma_region *r, unsigned long bus_addr,
+static int dma_sb_unmap_area(struct ps3_dma_region *r, unsigned long bus_addr,
unsigned long len)
{
unsigned long flags;
unsigned long len)
{
unsigned long flags;
-int dma_ioc0_unmap_area(struct ps3_dma_region *r, unsigned long bus_addr,
- unsigned long len)
+static int dma_ioc0_unmap_area(struct ps3_dma_region *r,
+ unsigned long bus_addr, unsigned long len)
{
unsigned long flags;
struct dma_chunk *c;
{
unsigned long flags;
struct dma_chunk *c;