]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/comedi/drivers.c
staging: __FUNCTION__ is gcc-specific, use __func__
[net-next-2.6.git] / drivers / staging / comedi / drivers.c
index 06372b227bb2d965348e42c691599196592c537a..36a93b95e3f24027c55cb01d2dd8da5b641dd0cb 100644 (file)
@@ -557,7 +557,7 @@ unsigned int comedi_buf_munge(comedi_async * async, unsigned int num_bytes)
                block_size = num_bytes - count;
                if (block_size < 0) {
                        rt_printk("%s: %s: bug! block_size is negative\n",
-                               __FILE__, __FUNCTION__);
+                               __FILE__, __func__);
                        break;
                }
                if ((int)(async->munge_ptr + block_size -