]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/capi/capilib.c
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[linux-2.6-omap-h63xx.git] / drivers / isdn / capi / capilib.c
index 68409d971e73a6c86aaf8f116f5eada1e75564c2..fcaa1241ee7714bb835aa7d7b0db648c50e19a45 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/isdn/capilli.h>
 
 #define DBG(format, arg...) do { \
-printk(KERN_DEBUG "%s: " format "\n" , __FUNCTION__ , ## arg); \
+printk(KERN_DEBUG "%s: " format "\n" , __func__ , ## arg); \
 } while (0)
 
 struct capilib_msgidqueue {
@@ -44,7 +44,7 @@ static inline void mq_init(struct capilib_ncci * np)
 static inline int mq_enqueue(struct capilib_ncci * np, u16 msgid)
 {
        struct capilib_msgidqueue *mq;
-       if ((mq = np->msgidfree) == 0)
+       if ((mq = np->msgidfree) == NULL)
                return 0;
        np->msgidfree = mq->next;
        mq->msgid = msgid;