drm/nouveau/clk: change init ordering, no longer needed by devinit
authorBen Skeggs <bskeggs@redhat.com>
Tue, 5 Mar 2013 02:32:06 +0000 (12:32 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 1 Jul 2013 03:44:01 +0000 (13:44 +1000)
And, will depend on FB/VOLT/DAEMON being ready when it gets initialised
so that it can set/restore clocks.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/core/device.h

index cb6b4cc6feddb17b66da1a2dcfb31e9c6941e973..99b6600fe80abada73eeab576a2360a3ec3b68b5 100644 (file)
@@ -17,8 +17,7 @@ enum nv_subdev_type {
        NVDEV_SUBDEV_DEVINIT,
        NVDEV_SUBDEV_GPIO,
        NVDEV_SUBDEV_I2C,
-       NVDEV_SUBDEV_CLOCK,
-       NVDEV_SUBDEV_DEVINIT_LAST = NVDEV_SUBDEV_CLOCK,
+       NVDEV_SUBDEV_DEVINIT_LAST = NVDEV_SUBDEV_I2C,
 
        /* This grouping of subdevs are initialised right after they've
         * been created, and are allowed to assume any subdevs in the
@@ -35,6 +34,7 @@ enum nv_subdev_type {
        NVDEV_SUBDEV_VM,
        NVDEV_SUBDEV_BAR,
        NVDEV_SUBDEV_VOLT,
+       NVDEV_SUBDEV_CLOCK,
        NVDEV_SUBDEV_THERM,
 
        NVDEV_ENGINE_DMAOBJ,