]> Git Repo - linux.git/commit
drivers: make device_type const
authorStephen Hemminger <[email protected]>
Mon, 28 Mar 2011 16:12:52 +0000 (09:12 -0700)
committerGreg Kroah-Hartman <[email protected]>
Tue, 19 Apr 2011 23:45:51 +0000 (16:45 -0700)
commitaed65af1cc2f6fc9ded5a8158f1405a02cf6d2ff
treefd7051c0d25a6f463db9593a981ca3e558d17b4f
parent695cca8763078c743417886e80af8ccb78bec9f2
drivers: make device_type const

The device_type structure does not contain data that changes
during usage and should be const. This allows devices to declare
the struct const.

I have patches to change all the subsystems, but need the infra
structure change first.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/base/core.c
include/linux/device.h
This page took 0.053645 seconds and 4 git commands to generate.