diff options
author | Juston Li <juston.h.li@gmail.com> | 2015-07-14 21:14:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-14 22:52:53 -0700 |
commit | 40403c1b13cb01d9125df80789b574c2d4172cc0 (patch) | |
tree | 5a845e6ddd37f5aad13a0c700d3b66d1a6fe09e3 /drivers/staging/sm750fb/sm750_cursor.c | |
parent | 7b05cbe8b60beb31919baa2b010cd7776904b17b (diff) | |
download | linux-stable-40403c1b13cb01d9125df80789b574c2d4172cc0.tar.gz linux-stable-40403c1b13cb01d9125df80789b574c2d4172cc0.tar.bz2 linux-stable-40403c1b13cb01d9125df80789b574c2d4172cc0.zip |
staging: sm750fb: add missing blank line after declarations
Fixes checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Juston Li <juston.h.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750_cursor.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750_cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index ab61fe69635c..2400c6c75863 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -61,6 +61,7 @@ writel((data), cursor->mmio + (addr)) void hw_cursor_enable(struct lynx_cursor *cursor) { u32 reg; + reg = FIELD_VALUE(0, HWC_ADDRESS, ADDRESS, cursor->offset)| FIELD_SET(0, HWC_ADDRESS, EXT, LOCAL)| FIELD_SET(0, HWC_ADDRESS, ENABLE, ENABLE); @@ -81,6 +82,7 @@ void hw_cursor_setPos(struct lynx_cursor *cursor, int x, int y) { u32 reg; + reg = FIELD_VALUE(0, HWC_LOCATION, Y, y)| FIELD_VALUE(0, HWC_LOCATION, X, x); POKE32(HWC_LOCATION, reg); |