mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
rpisense: Make globals static to allow non-module build
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
#include <linux/mfd/rpisense/joystick.h>
|
||||
#include <linux/mfd/rpisense/core.h>
|
||||
|
||||
struct rpisense *rpisense;
|
||||
unsigned char keymap[5] = {KEY_DOWN, KEY_RIGHT, KEY_UP, KEY_ENTER, KEY_LEFT,};
|
||||
static struct rpisense *rpisense;
|
||||
static unsigned char keymap[5] = {KEY_DOWN, KEY_RIGHT, KEY_UP, KEY_ENTER, KEY_LEFT,};
|
||||
|
||||
static void keys_work_fn(struct work_struct *work)
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <linux/mfd/rpisense/core.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
struct rpisense *rpisense;
|
||||
static struct rpisense *rpisense;
|
||||
|
||||
static void rpisense_client_dev_register(struct rpisense *rpisense,
|
||||
const char *name,
|
||||
|
||||
@@ -31,7 +31,7 @@ static bool lowlight;
|
||||
module_param(lowlight, bool, 0);
|
||||
MODULE_PARM_DESC(lowlight, "Reduce LED matrix brightness to one third");
|
||||
|
||||
struct rpisense *rpisense;
|
||||
static struct rpisense *rpisense;
|
||||
|
||||
struct rpisense_fb_param {
|
||||
char __iomem *vmem;
|
||||
|
||||
Reference in New Issue
Block a user