diff options
author | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-05-14 11:15:48 +0000 |
---|---|---|
committer | Aleksandr Rybalko <ray@FreeBSD.org> | 2014-05-14 11:15:48 +0000 |
commit | 279204f2e042afa1de80483c1602e28c7d839fa9 (patch) | |
tree | 665788c8be274c7d7a6f5cb4b246e1a2000e1b0b /sys/arm/broadcom/bcm2835/bcm2835_fbd.c | |
parent | fbaadda60b68cbdf776bfc0200def25c6a9a799f (diff) | |
download | src-279204f2e042afa1de80483c1602e28c7d839fa9.tar.gz src-279204f2e042afa1de80483c1602e28c7d839fa9.zip |
Remove extra newlines.
No functional changes.
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=266010
Diffstat (limited to 'sys/arm/broadcom/bcm2835/bcm2835_fbd.c')
-rw-r--r-- | sys/arm/broadcom/bcm2835/bcm2835_fbd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_fbd.c b/sys/arm/broadcom/bcm2835/bcm2835_fbd.c index cf7cecd6c4a1..ed625bc0f8f8 100644 --- a/sys/arm/broadcom/bcm2835/bcm2835_fbd.c +++ b/sys/arm/broadcom/bcm2835/bcm2835_fbd.c @@ -99,7 +99,6 @@ struct bcmsc_softc { struct bcm_fb_config* fb_config; bus_addr_t fb_config_phys; struct intr_config_hook init_hook; - }; static int bcm_fb_probe(device_t); @@ -167,14 +166,10 @@ bcm_fb_init(void *arg) fb_config->xoffset, fb_config->yoffset, fb_config->bpp); - device_printf(sc->dev, "pitch %d, base 0x%08x, screen_size %d\n", fb_config->pitch, fb_config->base, fb_config->screen_size); - - - info = malloc(sizeof(struct fb_info), M_DEVBUF, M_WAITOK | M_ZERO); info->fb_name = device_get_nameunit(sc->dev); @@ -199,8 +194,6 @@ bcm_fb_init(void *arg) device_printf(sc->dev, "Failed to attach fbd device\n"); return; } - - } else { device_printf(sc->dev, "Failed to set framebuffer info\n"); return; @@ -273,7 +266,6 @@ fail: return (ENXIO); } - static void bcm_fb_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err) { |