dahdi_dynamic: Use const pointers for dahdi_dynamic_driver strings.
Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9569 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
@@ -441,7 +441,7 @@ static struct dahdi_dynamic *find_dynamic(struct dahdi_dynamic_span *dds)
|
||||
return found;
|
||||
}
|
||||
|
||||
static struct dahdi_dynamic_driver *find_driver(char *name)
|
||||
static struct dahdi_dynamic_driver *find_driver(const char *name)
|
||||
{
|
||||
struct dahdi_dynamic_driver *dtd, *found = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user