Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=eb090473a71ecd35987542fb733a14cc2023777f Commit: eb090473a71ecd35987542fb733a14cc2023777f Parent: 9f68ff9ee9ecae38a3b0bb3b9c4799cded19b27c Author: Jesper Nilsson <[EMAIL PROTECTED]> AuthorDate: Fri Feb 8 10:44:05 2008 +0100 Committer: Jesper Nilsson <[EMAIL PROTECTED]> CommitDate: Fri Feb 8 11:16:46 2008 +0100
CRIS v32: Correct spelling of bandwidth in function name. --- arch/cris/arch-v32/mach-a3/arbiter.c | 6 +++--- arch/cris/arch-v32/mach-a3/dma.c | 2 +- include/asm-cris/arch-v32/mach-a3/arbiter.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/cris/arch-v32/mach-a3/arbiter.c b/arch/cris/arch-v32/mach-a3/arbiter.c index b92fd7e..8b924db 100644 --- a/arch/cris/arch-v32/mach-a3/arbiter.c +++ b/arch/cris/arch-v32/mach-a3/arbiter.c @@ -3,7 +3,7 @@ * arbiter and sets up arbiter breakpoints. * * The algorithm first assigns slots to the clients that has specified - * bandwith (e.g. ethernet) and then the remaining slots are divided + * bandwidth (e.g. ethernet) and then the remaining slots are divided * on all the active clients. * * Copyright (c) 2004-2007 Axis Communications AB. @@ -282,7 +282,7 @@ static void crisv32_arbiter_init(void) REG_WR_INT(marb_bar, regi_marb_bar, rw_l2cache_burst, 3); } -int crisv32_arbiter_allocate_bandwith(int client, int region, +int crisv32_arbiter_allocate_bandwidth(int client, int region, unsigned long bandwidth) { int i; @@ -324,7 +324,7 @@ int crisv32_arbiter_allocate_bandwith(int client, int region, /* Propagate allocation from foo to bar */ if (arbiter == 0) - crisv32_arbiter_allocate_bandwith(8 << 16, + crisv32_arbiter_allocate_bandwidth(8 << 16, EXT_REGION, bandwidth); return 0; } diff --git a/arch/cris/arch-v32/mach-a3/dma.c b/arch/cris/arch-v32/mach-a3/dma.c index 0c19fed..25f236e 100644 --- a/arch/cris/arch-v32/mach-a3/dma.c +++ b/arch/cris/arch-v32/mach-a3/dma.c @@ -24,7 +24,7 @@ int crisv32_request_dma(unsigned int dmanr, const char *device_id, reg_clkgen_rw_clk_ctrl clk_ctrl; reg_strmux_rw_cfg strmux_cfg; - if (crisv32_arbiter_allocate_bandwith(dmanr, + if (crisv32_arbiter_allocate_bandwidth(dmanr, options & DMA_INT_MEM ? INT_REGION : EXT_REGION, bandwidth)) return -ENOMEM; diff --git a/include/asm-cris/arch-v32/mach-a3/arbiter.h b/include/asm-cris/arch-v32/mach-a3/arbiter.h index 50a8935..65e9d6f 100644 --- a/include/asm-cris/arch-v32/mach-a3/arbiter.h +++ b/include/asm-cris/arch-v32/mach-a3/arbiter.h @@ -24,7 +24,7 @@ enum { #define MARB_CLIENTS(foo_cli, bar_cli) (((bar_cli) << 16) | (foo_cli)) -int crisv32_arbiter_allocate_bandwith(int client, int region, +int crisv32_arbiter_allocate_bandwidth(int client, int region, unsigned long bandwidth); int crisv32_arbiter_watch(unsigned long start, unsigned long size, unsigned long clients, unsigned long accesses, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html