mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
fbdev: mb862xxfb: Silence possibly unused functions
When CONFIG_PCI=n, the kernel test robot reports that on powerpc some functions and variables may possibly be unused. Silence those warnings. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202608081537.o23Goj8d-lkp@intel.com/ Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
de508ece1d
commit
4c1977df69
|
|
@ -408,7 +408,7 @@ static struct fb_ops mb862xxfb_ops = {
|
|||
};
|
||||
|
||||
/* initialize fb_info data */
|
||||
static int mb862xxfb_init_fbinfo(struct fb_info *fbi)
|
||||
static int __maybe_unused mb862xxfb_init_fbinfo(struct fb_info *fbi)
|
||||
{
|
||||
struct mb862xxfb_par *par = fbi->par;
|
||||
struct mb862xx_gc_mode *mode = par->gc_mode;
|
||||
|
|
@ -568,9 +568,9 @@ static ssize_t dispregs_show(struct device *dev,
|
|||
return ptr - buf;
|
||||
}
|
||||
|
||||
static DEVICE_ATTR_RO(dispregs);
|
||||
static __maybe_unused DEVICE_ATTR_RO(dispregs);
|
||||
|
||||
static irqreturn_t mb862xx_intr(int irq, void *dev_id)
|
||||
static irqreturn_t __maybe_unused mb862xx_intr(int irq, void *dev_id)
|
||||
{
|
||||
struct mb862xxfb_par *par = (struct mb862xxfb_par *) dev_id;
|
||||
unsigned long reg_ist, mask;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user