]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/video-uclass.c
usb: dwc2: Add brcm,bcm2708-usb compatible
[u-boot] / drivers / video / video-uclass.c
index b5bb8e0efde53bb82f196f46bfd978293b7b91ee..dd0873767ba5ef6c38ea771ce2e51d1cc13f7c53 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2015 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -272,7 +271,7 @@ static int video_post_bind(struct udevice *dev)
        ulong size;
 
        /* Before relocation there is nothing to do here */
-       if ((!gd->flags & GD_FLG_RELOC))
+       if (!(gd->flags & GD_FLG_RELOC))
                return 0;
        size = alloc_fb(dev, &addr);
        if (addr < gd->video_bottom) {