Re: [PATCH] of: pass name argument for of_io_request_and_map as const char *

2014-11-13 Thread Chen-Yu Tsai
On Thu, Nov 13, 2014 at 5:04 PM, Matthias Brugger wrote: > I already send a patch for that which got accepted by Grant [0]. > Although right now, I'm not able to find it on his repository [1]. Oh great! Please ignore this one then. ChenYu > Cheers, > Matthias > > [0] https://lkml.org/lkml/2014/

Re: [PATCH] of: pass name argument for of_io_request_and_map as const char *

2014-11-13 Thread Matthias Brugger
I already send a patch for that which got accepted by Grant [0]. Although right now, I'm not able to find it on his repository [1]. Cheers, Matthias [0] https://lkml.org/lkml/2014/11/4/588 [1] https://git.kernel.org/cgit/linux/kernel/git/glikely/linux.git/ 2014-11-12 19:17 GMT+01:00 Chen-Yu Tsai

[PATCH] of: pass name argument for of_io_request_and_map as const char *

2014-11-12 Thread Chen-Yu Tsai
The name argument for of_io_request_and_map is only passed to request_mem_region, which is a macro of __request_region, which takes a const name argument. Make the name argument const, so when we pass const strings we don't get the following warnings: warning: passing argument 3 of 'of_io_req