X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fcassini.c;h=1f7ca453bb4a28c48a5e44da3024df4b8facdb5c;hb=2f23c523f32324e5b5f39565cbcb0a8ff8923019;hp=2e617424d3fbf631237d29b592a5c811e26976b3;hpb=58a2c3221e3c78ea6c71148eb84d4170358981fb;p=powerpc.git diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c index 2e617424d3..1f7ca453bb 100644 --- a/drivers/net/cassini.c +++ b/drivers/net/cassini.c @@ -67,7 +67,6 @@ */ #include -#include #include #include @@ -489,7 +488,7 @@ static int cas_page_free(struct cas *cp, cas_page_t *page) /* local page allocation routines for the receive buffers. jumbo pages * require at least 8K contiguous and 8K aligned buffers. */ -static cas_page_t *cas_page_alloc(struct cas *cp, const int flags) +static cas_page_t *cas_page_alloc(struct cas *cp, const gfp_t flags) { cas_page_t *page; @@ -561,7 +560,7 @@ static void cas_spare_free(struct cas *cp) } /* replenish spares if needed */ -static void cas_spare_recover(struct cas *cp, const int flags) +static void cas_spare_recover(struct cas *cp, const gfp_t flags) { struct list_head list, *elem, *tmp; int needed, i;