Now since the Big-Endian and Little-Endian based calculations are moved
into a macro we can make fb_read() and fb_write() common for both
Little-Endian and Big-Endian.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        return 0;
 }
 
-#ifdef __BIG_ENDIAN
 static ssize_t smtcfb_read(struct fb_info *info, char __user *buf,
                           size_t count, loff_t *ppos)
 {
 
        return (cnt) ? cnt : err;
 }
-#endif /* ! __BIG_ENDIAN */
 
 static void sm7xx_set_timing(struct smtcfb_info *sfb)
 {
        .fb_fillrect  = cfb_fillrect,
        .fb_imageblit = cfb_imageblit,
        .fb_copyarea  = cfb_copyarea,
-#ifdef __BIG_ENDIAN
        .fb_read      = smtcfb_read,
        .fb_write     = smtcfb_write,
-#endif
 };
 
 /*