isdn: rename CONFIG_AVMB1_COMPAT to not look like a Kconfig variable
Since CONFIG_AVMB1_COMPAT is not a Kconfig variable, move it out of the Kconfig namespace. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c24e9b3fa3
commit
37772ac0fc
|
@ -10,7 +10,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CONFIG_AVMB1_COMPAT
|
#define AVMB1_COMPAT
|
||||||
|
|
||||||
#include "kcapi.h"
|
#include "kcapi.h"
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
#include <asm/uaccess.h>
|
#include <asm/uaccess.h>
|
||||||
#include <linux/isdn/capicmd.h>
|
#include <linux/isdn/capicmd.h>
|
||||||
#include <linux/isdn/capiutil.h>
|
#include <linux/isdn/capiutil.h>
|
||||||
#ifdef CONFIG_AVMB1_COMPAT
|
#ifdef AVMB1_COMPAT
|
||||||
#include <linux/b1lli.h>
|
#include <linux/b1lli.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
|
@ -740,7 +740,7 @@ u16 capi20_get_profile(u32 contr, struct capi_profile *profp)
|
||||||
|
|
||||||
EXPORT_SYMBOL(capi20_get_profile);
|
EXPORT_SYMBOL(capi20_get_profile);
|
||||||
|
|
||||||
#ifdef CONFIG_AVMB1_COMPAT
|
#ifdef AVMB1_COMPAT
|
||||||
static int old_capi_manufacturer(unsigned int cmd, void __user *data)
|
static int old_capi_manufacturer(unsigned int cmd, void __user *data)
|
||||||
{
|
{
|
||||||
avmb1_loadandconfigdef ldef;
|
avmb1_loadandconfigdef ldef;
|
||||||
|
@ -904,7 +904,7 @@ int capi20_manufacturer(unsigned int cmd, void __user *data)
|
||||||
struct capi_ctr *card;
|
struct capi_ctr *card;
|
||||||
|
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
#ifdef CONFIG_AVMB1_COMPAT
|
#ifdef AVMB1_COMPAT
|
||||||
case AVMB1_LOAD:
|
case AVMB1_LOAD:
|
||||||
case AVMB1_LOAD_AND_CONFIG:
|
case AVMB1_LOAD_AND_CONFIG:
|
||||||
case AVMB1_RESETCARD:
|
case AVMB1_RESETCARD:
|
||||||
|
|
Loading…
Reference in New Issue