Add very basic sysfs attributes for matrix type
This commit is contained in:
parent
455398c14f
commit
9390d36338
|
@ -1,9 +1,13 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
#include "ksudoku.h"
|
||||
|
||||
#define KSTUDY_VERSION "0.1"
|
||||
#define KSTUDY_DESC "Kernel Sudoku Module"
|
||||
|
||||
|
||||
static MATRIX_ATTR_RO(is_valid);
|
||||
static MATRIX_ATTR_RO(is_solved);
|
||||
|
||||
|
||||
static int kstudy_init(void)
|
||||
{
|
||||
printk(KERN_ALERT "Init ksudoku.\n");
|
||||
|
|
Loading…
Reference in New Issue