Lonely Dreamer (sanmai) wrote,
Lonely Dreamer
sanmai

dev_dbg

Defining DEBUG before including <linux/device.h> enables dev_dbg to work.

#define DEBUG
#include <linux/device.h>

dev_dbg(&client->dev, "%02x\n", regs[0]);
Tags: linux
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments