|
@@ -10,6 +10,7 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/device.h>
|
|
|
|
+#include <linux/kmemcheck.h>
|
|
|
|
|
|
#define C2PORT_NAME_LEN 32
|
|
#define C2PORT_NAME_LEN 32
|
|
|
|
|
|
@@ -20,8 +21,10 @@
|
|
/* Main struct */
|
|
/* Main struct */
|
|
struct c2port_ops;
|
|
struct c2port_ops;
|
|
struct c2port_device {
|
|
struct c2port_device {
|
|
|
|
+ kmemcheck_bitfield_begin(flags);
|
|
unsigned int access:1;
|
|
unsigned int access:1;
|
|
unsigned int flash_access:1;
|
|
unsigned int flash_access:1;
|
|
|
|
+ kmemcheck_bitfield_end(flags);
|
|
|
|
|
|
int id;
|
|
int id;
|
|
char name[C2PORT_NAME_LEN];
|
|
char name[C2PORT_NAME_LEN];
|