]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/s390/cio/css.c
Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6
[karo-tx-linux.git] / drivers / s390 / cio / css.c
index dcd0e48918da8fecab20adf95bd0c0c45f16e969..0085d89017924c13d0b1ab0686cd3bb7571ba190 100644 (file)
@@ -295,7 +295,7 @@ static int css_register_subchannel(struct subchannel *sch)
         * the subchannel driver can decide itself when it wants to inform
         * userspace of its existence.
         */
-       sch->dev.uevent_suppress = 1;
+       dev_set_uevent_suppress(&sch->dev, 1);
        css_update_ssd_info(sch);
        /* make it known to the system */
        ret = css_sch_device_register(sch);
@@ -310,7 +310,7 @@ static int css_register_subchannel(struct subchannel *sch)
                 * a fitting driver module may be loaded based on the
                 * modalias.
                 */
-               sch->dev.uevent_suppress = 0;
+               dev_set_uevent_suppress(&sch->dev, 0);
                kobject_uevent(&sch->dev.kobj, KOBJ_ADD);
        }
        return ret;