]> err.no Git - linux-2.6/commit
dev_printk(): constify the `dev' argument
authorJean Delvare <khali@linux-fr.org>
Wed, 30 Jul 2008 19:29:21 +0000 (12:29 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Aug 2008 17:15:36 +0000 (10:15 -0700)
commitbf9ca69fc8d19d4034391d3df4c35dccdef9d28c
tree795984a46805dfea4d7975b0cf298d75c894df88
parent26d02d1db7d84729b1e49789341e69a493c60ceb
dev_printk(): constify the `dev' argument

Add const markings to dev_name and dev_driver_string to make it clear that
dev_printk doesn't modify dev.  This is a prerequisite to adding more
const markings to other functions make it clearer, which functions can
modify dev and which can't.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h