diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-04 18:08:02 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-03-06 07:18:18 -0500 |
commit | 8e86f4271aaac7685923b80cf57972be41afbc1d (patch) | |
tree | 4817fbfdd60d4cccf6b87876765ce64f044d624a /arch/arm/common/it8152.c | |
parent | 92df78519d0a6a8677cb827b5a1b7d2520d7e202 (diff) |
[ARM] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/it8152.c')
-rw-r--r-- | arch/arm/common/it8152.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c index 97b7dc13d9aa..538262241483 100644 --- a/arch/arm/common/it8152.c +++ b/arch/arm/common/it8152.c | |||
@@ -274,7 +274,7 @@ static int it8152_pci_platform_notify_remove(struct device *dev) | |||
274 | int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) | 274 | int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) |
275 | { | 275 | { |
276 | dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", | 276 | dev_dbg(dev, "%s: dma_addr %08x, size %08x\n", |
277 | __FUNCTION__, dma_addr, size); | 277 | __func__, dma_addr, size); |
278 | return (dev->bus == &pci_bus_type) && | 278 | return (dev->bus == &pci_bus_type) && |
279 | ((dma_addr + size - PHYS_OFFSET) >= SZ_64M); | 279 | ((dma_addr + size - PHYS_OFFSET) >= SZ_64M); |
280 | } | 280 | } |
@@ -289,7 +289,7 @@ int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) | |||
289 | */ | 289 | */ |
290 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask) | 290 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask) |
291 | { | 291 | { |
292 | dev_dbg(&dev->dev, "%s: %llx\n", __FUNCTION__, mask); | 292 | dev_dbg(&dev->dev, "%s: %llx\n", __func__, mask); |
293 | if (mask >= PHYS_OFFSET + SZ_64M - 1) | 293 | if (mask >= PHYS_OFFSET + SZ_64M - 1) |
294 | return 0; | 294 | return 0; |
295 | 295 | ||
@@ -299,7 +299,7 @@ int pci_set_dma_mask(struct pci_dev *dev, u64 mask) | |||
299 | int | 299 | int |
300 | pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) | 300 | pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) |
301 | { | 301 | { |
302 | dev_dbg(&dev->dev, "%s: %llx\n", __FUNCTION__, mask); | 302 | dev_dbg(&dev->dev, "%s: %llx\n", __func__, mask); |
303 | if (mask >= PHYS_OFFSET + SZ_64M - 1) | 303 | if (mask >= PHYS_OFFSET + SZ_64M - 1) |
304 | return 0; | 304 | return 0; |
305 | 305 | ||