]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/queensbay/tnc.c
dm: core: Add flags parameter to device_remove()
[u-boot] / arch / x86 / cpu / queensbay / tnc.c
index f307c622c8891472b0cef6371600a4fd50ad01b5..94668a4fda12a91dbdcb444a162635c7dedf73fc 100644 (file)
@@ -76,13 +76,13 @@ static int __maybe_unused disable_igd(void)
         *
         * So the only option we have is to manually remove these two devices.
         */
-       ret = device_remove(igd);
+       ret = device_remove(igd, DM_REMOVE_NORMAL);
        if (ret)
                return ret;
        ret = device_unbind(igd);
        if (ret)
                return ret;
-       ret = device_remove(sdvo);
+       ret = device_remove(sdvo, DM_REMOVE_NORMAL);
        if (ret)
                return ret;
        ret = device_unbind(sdvo);